OpenCloudOS-Kernel/drivers/iio
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
..
accel iio: accel: kxcjk-1013: power off device if probe fails 2014-12-12 12:28:35 +00:00
adc iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
amplifiers iio: amplifiers: ad8366: Remove regulator_put 2013-09-28 11:49:45 +01:00
common iio: common: remove unnecessary sizeof(u8) 2014-12-12 12:28:25 +00:00
dac iio: add support of the max5821 2014-07-27 14:21:35 +01:00
frequency Merge 3.12-rc6 into staging-next. 2013-10-19 13:14:34 -07:00
gyro First round of new drivers, features and cleanups for IIO in the 3.19 cycle. 2014-11-05 11:42:48 -08:00
humidity iio:humidity:si7020: fix pointer to i2c client 2014-10-25 20:55:56 +01:00
imu iio: imu: inv_mpu6050: Add i2c mux for by pass 2014-12-12 12:28:26 +00:00
light iio: jsa1212: Add JSA1212 proximity/ALS sensor 2014-11-08 12:24:50 +00:00
magnetometer iio: ak8975: add ak09911 and ak09912 support 2014-12-12 12:28:20 +00:00
orientation iio: remove .owner field for driver using module_platform_driver 2014-08-26 21:08:38 +01:00
pressure iio: bmp280: refactor compensation code 2014-12-12 12:28:25 +00:00
proximity iio: as3935: Remove unnecessary semicolons 2014-11-05 13:47:42 +00:00
temperature iio: Add Melexis mlx90614 contact-less infrared temperature sensor driver 2014-05-03 11:38:13 +01:00
trigger iio: remove .owner field for driver using module_platform_driver 2014-08-26 21:08:38 +01:00
Kconfig iio: always select ANON_INODES 2014-05-10 11:39:57 +01:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
buffer_cb.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
industrialio-buffer.c iio: buffer: Drop get_length callback 2014-12-12 12:28:34 +00:00
industrialio-core.c iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
industrialio-event.c iio: core: Introduce STEPS channel, ENABLE mask and INSTANCE event 2014-11-22 11:05:51 +00:00
industrialio-trigger.c iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
industrialio-triggered-buffer.c iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
inkern.c iio: inkern: add iio_write_channel_raw 2014-12-12 12:28:27 +00:00
kfifo_buf.c iio: buffer: Drop get_length callback 2014-12-12 12:28:34 +00:00