linux/drivers/staging/iio
Brian Masney 0503deb820 staging: iio: tsl2x7x: check return value from tsl2x7x_invoke_change()
The return value from tsl2x7x_invoke_change() was not checked in most
places in the driver. This patch adds the proper error checks. The
return values inside tsl2x7x_invoke_change() are now checked by
this patch as well.

Previously, if there was an error turning the chip back on, then the
driver would attempt to turn the chip off and incorrectly return
success. The code to power off the chip is removed by this patch
since we should fail fast.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-07-09 18:46:25 +01:00
..
accel Staging: iio: accel: adis16203: fixed a brace coding style issue 2017-04-14 16:13:34 +01:00
adc staging: iio: adc: ad7280a: fix permission coding style issue 2017-03-25 17:07:24 +00:00
addac staging: iio: Add blank lines after function declarations 2017-03-23 19:43:34 +00:00
cdc staging: iio: ad7152: Fix deadlock in ad7152_write_raw_samp_freq() 2017-05-28 15:45:46 +01:00
Documentation staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
frequency iio: ad9834 convert symbolic permissions to octal 2017-05-01 00:59:21 +01:00
gyro iio: gyro: adis16060: Change the name of function. 2017-04-02 09:10:32 +01:00
impedance-analyzer staging: iio: ad5933: Protect DIRECT mode using claim/release helpers 2017-04-14 15:09:06 +01:00
light staging: iio: tsl2x7x: check return value from tsl2x7x_invoke_change() 2017-07-09 18:46:25 +01:00
meter staging: iio: meter: Fix the identations for proper alignments. 2017-05-14 16:25:55 +01: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