linux/drivers/staging/iio
Eva Rachel Retuya cf6c77323a staging: iio: tsl2x7x_core: Fix standard deviation calculation
Standard deviation is calculated as the square root of the variance
where variance is the mean of sample_sum and length. Correct the
computation of statP->stddev in accordance to the proper calculation.

Fixes: 3c97c08b57 ("staging: iio: add TAOS tsl2x7x driver")
Reported-by: Abhiram Balasubramanian <abhiram@cs.utah.edu>
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-03-25 16:47:13 +00:00
..
accel staging: adis16203: Remove locking on raw reads of IIO_CHAN_INFO_CALIBBIAS 2017-03-23 19:43:36 +00:00
adc staging: ad7606: Replace mlock with driver private lock 2017-03-23 19:43:32 +00:00
addac staging: iio: Add blank lines after function declarations 2017-03-23 19:43:34 +00:00
cdc staging: iio: Remove extra Parenthesis. 2017-03-25 16:04:38 +00:00
Documentation staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
frequency staging: iio: ad9834: Remove unnecessary goto statement 2017-03-15 22:13:57 +00:00
gyro staging: iio: adis16060: Remove iio_dev mlock and refactor code 2017-03-23 19:43:03 +00:00
impedance-analyzer Staging: iio: impedance-analyzer: ad5933.c - style fix 2017-02-19 11:06:40 +00:00
light staging: iio: tsl2x7x_core: Fix standard deviation calculation 2017-03-25 16:47:13 +00:00
meter staging: iio: ade7753: Remove trailing whitespaces 2017-03-23 19:43:31 +00:00
resolver Staging: iio: resolver: ad2s1210: Fix warning, statements should start on a tabstop 2017-03-19 11:06:59 +00:00
trigger iio: trigger: free trigger resource correctly 2017-01-22 16:14:21 +00:00
Kconfig iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
Makefile iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
TODO staging:iio:TODO drop outdated entries in this todo. 2016-10-23 19:33:40 +01:00