diff options
author | Irina Tirdea <irina.tirdea@intel.com> | 2014-12-10 17:23:53 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-12 13:28:35 +0100 |
commit | fbd123e913ed25ec861ce3be10725b5beb27ab48 (patch) | |
tree | 284b0e690424904ad4dc5c43b130b69b0fcf2eb7 /drivers/cpufreq | |
parent | iio: buffer: Drop get_length callback (diff) | |
download | linux-fbd123e913ed25ec861ce3be10725b5beb27ab48.tar.xz linux-fbd123e913ed25ec861ce3be10725b5beb27ab48.zip |
iio: accel: kxcjk-1013: error handling when set mode fails
If there is an error in set mode at runtime resume, reset the state of
the runtime usage count.
If there is an error in set mode at runtime suspend, make sure the framework
retries to suspend the device.
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions