linux/drivers/iio/accel
Hartmut Knaack 18422bb3c1 iio:accel:stk8312: improve error handling
Improve error handling in the following ways:
  - set return value on error condition to an appropriate error code
  - return error code immediately in case of an error (slightly changes
    code structure)
  - pass up real error code
  - add missing error handling
  - return 0 when error have been caught already
  - put device back in active mode after error occurs

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-08-08 12:21:46 +01:00
..
bma180.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
bmc150-accel.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
hid-sensor-accel-3d.c iio: accel: hid-sensor-accel-3d: Fix memory leak in probe() 2015-05-17 09:09:05 +01:00
Kconfig iio:accel:stk8312: add triggered buffer dependency 2015-08-02 19:12:07 +01:00
kxcjk-1013.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: accel: Add support for Sensortek STK8BA50 2015-05-23 12:57:11 +01:00
mma8452.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
mma9551_core.c iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551_core.h iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551.c iio: accel: mma9551: Check gpiod_to_irq return value 2015-03-09 13:27:49 +00:00
mma9553.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
ssp_accel_sensor.c iio: common: ssp_sensors: Add sensorhub accelerometer sensor 2015-01-29 18:49:56 +00:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel_i2c.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel_spi.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel.h iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
stk8ba50.c iio: Export I2C module alias information in missing drivers 2015-08-02 16:35:01 +01:00
stk8312.c iio:accel:stk8312: improve error handling 2015-08-08 12:21:46 +01:00