linux/drivers/staging/iio
Eva Rachel Retuya 2912422b90 staging: iio: tsl2x7x_core: Fix standard deviation calculation
commit cf6c77323a upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-08-26 02:14:26 +01:00
..
accel staging: iio: accel: fix error check 2016-08-22 22:38:21 +01:00
adc staging: iio: ad7606: fix improper setting of oversampling pins 2017-03-16 02:26:15 +00:00
addac First round of IIO new driver, functionality and cleanups for the 3.16 cycle. 2014-04-26 08:12:25 -07:00
cdc staging: iio: Fix typo in iio 2014-04-23 21:44:41 +01:00
Documentation fix format string missmatch in staging/iio/Documentation/iio_utils.h 2014-05-25 12:09:37 +01:00
frequency staging:iio:ad9834: Mark transfer buffers as __b16 2013-12-03 20:22:29 +00:00
gyro staging: iio: adis16060: Use devm_iio_device_register 2013-11-24 21:07:21 +00:00
impedance-analyzer staging: iio: ad5933: avoid uninitialized variable in error case 2017-02-23 03:54:21 +00:00
light staging: iio: tsl2x7x_core: Fix standard deviation calculation 2017-08-26 02:14:26 +01:00
magnetometer 2nd round of new IIO drivers, features and cleanups for the 3.14 cycle. 2013-12-24 10:30:57 -08:00
meter staging:iio:ade7758: Remove "raw" from channel name 2014-11-14 15:19:59 +00:00
resolver staging:iio:ad2s1200 fix missing parenthesis in a for statment. 2014-04-26 10:51:14 +01:00
trigger staging: iio: fix coding style 2014-04-14 08:29:28 -07:00
iio_dummy_evgen.c staging:iio: Don't compare boolean values with true/false 2012-10-19 16:19:45 +01:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
iio_simple_dummy.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
iio_simple_dummy.h staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
iio_simple_dummy_buffer.c staging:iio:simple-dummy: Remove redundant call to iio_sw_buffer_preenable() 2013-10-16 19:15:40 +01:00
iio_simple_dummy_events.c staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
Kconfig staging/iio: IIO_SIMPLE_DUMMY_BUFFER neds IIO_BUFFER 2014-06-07 11:45:21 +01:00
Makefile hwmon: Move the IIO client driver for hwmon out of staging 2013-03-23 10:08:15 +00:00
ring_hw.h staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00