alistair23-linux/drivers/staging
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
..
android Staging: ion: fix code style warning from NULL comparisons 2017-06-29 16:38:53 +02:00
board
ccree staging: ccree: fix block comment style 2017-06-29 16:38:51 +02:00
clocking-wizard
comedi staging: comedi: use centralized error clean-up in comedi_init() 2017-06-24 00:37:07 +08:00
dgnc dgnc: fix multiple blank lines coding style problem 2017-05-25 18:56:45 +02:00
emxx_udc staging: emxx_udc: Update "reserved" registers name 2017-05-15 07:42:00 +02:00
fbtft staging: fbtft: Fix to avoid precedence issues 2017-05-29 16:41:37 +02:00
fsl-dpaa2 staging: fsl-mc: move mc-cmd.h contents in the public header 2017-06-29 16:38:53 +02:00
fsl-mc staging: fsl-mc: make dprc.h header private 2017-06-29 16:38:53 +02:00
fwserial
gdm724x Staging: gdm724x: Change spaces to tabs 2017-06-03 17:38:26 +09:00
goldfish Staging: goldfish: use __func__ instead of embedded function names 2017-03-17 15:19:09 +09:00
greybus staging: greybus: mark PM functions as __maybe_unused 2017-05-18 16:07:08 +02:00
gs_fpgaboot scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
iio staging: iio: tsl2x7x: check return value from tsl2x7x_invoke_change() 2017-07-09 18:46:25 +01:00
ks7010 staging: ks7010: fix spelling mistake: "errror" -> "error" 2017-06-29 16:38:52 +02:00
lustre staging: lustre: replace kmalloc with kmalloc_array 2017-06-29 16:38:53 +02:00
media [media] atomisp: don't treat warnings as errors 2017-06-04 15:23:32 -03:00
most staging: most: net: hold used net device 2017-06-24 00:32:46 +08:00
mt29f_spinand
netlogic net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
nvec Staging: nvec: Remove FSF's mailing address 2017-04-08 12:55:25 +02:00
octeon staging: octeon: use __func__ instead of func name 2017-05-15 07:41:58 +02:00
octeon-usb staging: octeon-usb: use correct function for hcd cleanup 2017-05-15 07:43:55 +02:00
olpc_dcon staging: olpc_dcon: style fixes 2017-04-28 12:07:24 +02:00
rtl8188eu staging: rtl8188eu: style fixes 2017-06-25 16:31:21 +02:00
rtl8192e staging: rtl8192e: fix spelling mistake: "respose" -> "response" 2017-06-29 16:38:52 +02:00
rtl8192u staging: rtl8192u - add parameter names 2017-06-25 16:31:22 +02:00
rtl8712 Staging: rtl8712 : wifi.h: Fixed Macro argument reuse 2017-06-25 16:31:22 +02:00
rtl8723bs staging: rtl8723bs - remove asm includes 2017-06-25 16:31:21 +02:00
rts5208 staging/rts5208: Fix read overflow in memcpy 2017-06-06 16:16:10 +02:00
skein staging: skein: fix checkpatch block comments warning 2017-01-20 14:39:12 +01:00
sm750fb drivers: staging: sm750: Hold lock irrespective of fb numbers. 2017-06-29 16:38:50 +02:00
speakup staging: speakup: make function ser_to_dev static 2017-06-29 16:38:52 +02:00
typec staging: fusb302: don't bitshift __le16 type 2017-06-23 18:47:59 +02:00
unisys staging: unisys: visorhba - octal permissions 2017-06-25 16:31:21 +02:00
vc04_services staging: vchiq_core: Replace remaining BUG_ON with WARN_ON 2017-05-29 17:04:13 +02:00
vme staging: vme: Use BIT macro for bit definitions 2017-05-16 13:53:23 +02:00
vt6655 staging: vt6655 - add parameter names 2017-06-25 16:31:22 +02:00
vt6656 staging: vt6656: remove unnecesary blank lines 2017-05-18 15:59:37 +02:00
wilc1000 staging: wilc1000: fix spelling mistake: "dissconect" -> "disconnect" 2017-06-29 16:38:52 +02:00
wlan-ng staging: wlan-ng: Fix struct definition's and variable type 2017-06-23 19:37:38 +02:00
xgifb staging: fb_xgi: vb_table: Remove white space after tabstop 2017-06-23 19:36:49 +02:00
Kconfig Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00
Makefile Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00