2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/iio/light
Linus Walleij 53dfc3b9e6 iio: light: bh1780: return after write
When writing a value using direct reg access from debugfs
we need to return and not fall through to reading the
value, lest we'll dereference a NULL pointer.

Cc: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-04 10:53:51 +01:00
..
acpi-als.c iio: light: acpi-als: Report data as processed 2016-01-16 12:58:18 +00:00
adjd_s311.c
al3320a.c iio: Add Dyna-Image AL3320A ambient light sensor driver 2014-09-10 20:25:56 +01:00
apds9300.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
apds9960.c 2nd set of new device support, features and cleanup for IIO in the 4.7 cycle. 2016-04-26 15:07:23 -07:00
bh1750.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
bh1780.c iio: light: bh1780: return after write 2016-05-04 10:53:51 +01:00
cm3232.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
cm3323.c Merge 4.2-rc3 into staging-next 2015-07-20 13:21:28 -07:00
cm32181.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
cm36651.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
gp2ap020a00f.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
hid-sensor-als.c iio: light: hid-sensor-als.c: Fix memory leak in probe() 2015-05-17 09:10:05 +01:00
hid-sensor-prox.c iio: light: hid-sensor-prox: Fit assignment in one line 2015-06-14 15:03:53 +01:00
isl29125.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
jsa1212.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
Kconfig max44000: Initial support 2016-04-24 10:06:55 +01:00
lm3533-als.c iio: light: lm3533-als: Print error message on invalid resistance 2015-10-31 10:05:32 +00:00
ltr501.c iio-light: Use a signed return type for ltr501_match_samp_freq() 2015-12-19 17:00:29 +00:00
Makefile max44000: Initial support 2016-04-24 10:06:55 +01:00
max44000.c max44000: Initial triggered buffer support 2016-04-24 10:24:08 +01:00
opt3001.c iio: light: opt3001: enable operation w/o IRQ 2016-01-30 16:26:47 +00:00
pa12203001.c iio: light: pa12203001: Poweroff chip if register fails 2015-11-08 15:34:40 +00:00
rpr0521.c iio: Reconcile operation order between iio_register/unregister and pm functions 2015-11-08 15:36:53 +00:00
stk3310.c iio: remove unused gpio consumer.h include 2016-04-03 10:27:47 +01:00
tcs3414.c Merge 4.2-rc3 into staging-next 2015-07-20 13:21:28 -07:00
tcs3472.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
tsl2563.c iio: light: tsl2563: Remove flush_scheduled_work 2016-03-20 11:04:49 +00:00
tsl4531.c iio: tsl4531: fix error handling in tsl4531_check_id() 2015-08-31 16:29:52 +01:00
us5182d.c iio: light: us5182d: Refactor read_raw function 2015-12-22 18:07:08 +00:00
vcnl4000.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
veml6070.c iio: Add Vishay VEML6070 UV A light sensor driver 2016-04-19 19:58:16 +01:00