summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel_core.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2014-10-10 20:35:31 -0700
committerJonathan Cameron <jic23@kernel.org>2014-11-16 20:22:34 +0000
commitaaeecd80440bc5e06de7d2b741cd403325d8ca7a (patch)
tree174f39c8178256d4b51c21def116ca802a2cfed7 /drivers/iio/accel/st_accel_core.c
parent6896ab3a8cfe383cc0c98790b62245a84c6335f7 (diff)
downloadblackbird-obmc-linux-aaeecd80440bc5e06de7d2b741cd403325d8ca7a.tar.gz
blackbird-obmc-linux-aaeecd80440bc5e06de7d2b741cd403325d8ca7a.zip
iio: accel: bmc150: Error handling when mode set fails
When mode set fails due to some transient failures, it will atleast reset the state of runtime usage count and also let the runtime suspend retry from the driver framework. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/st_accel_core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud