linux-sg2042/drivers/iio/accel
Irina Tirdea 9d02daf738 iio: accel: kxcjk-1013: power off device if probe fails
When the device is initialized in probe, it is also powered on.
If there is an error after the initialization, the device will
remain powered on.

Power off the device in case probe fails after device initialization.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Suggested-by: Daniel Baluta <daniel.baluta@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-12-12 12:28:35 +00:00
..
Kconfig iio:bma180: Add BMA250 chip support 2014-09-14 20:52:25 +01:00
Makefile iio: accel: BMC150 accel support 2014-08-07 11:43:49 +01:00
bma180.c staging: iio: fix up merge error 2014-09-22 07:54:10 -07:00
bmc150-accel.c iio: accel: BMC150: add support for other Bosch chips 2014-09-13 21:35:46 +01:00
hid-sensor-accel-3d.c iio: remove .owner field for driver using module_platform_driver 2014-08-26 21:08:38 +01:00
kxcjk-1013.c iio: accel: kxcjk-1013: power off device if probe fails 2014-12-12 12:28:35 +00:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
mma8452.c Staging driver patches for 3.17-rc1 2014-08-04 18:36:12 -07:00
st_accel.h iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01: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:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00
st_accel_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_accel_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00