commit | fbd123e913ed25ec861ce3be10725b5beb27ab48 | [log] [tgz] |
---|---|---|
author | Irina Tirdea <irina.tirdea@intel.com> | Wed Dec 10 18:23:53 2014 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Dec 12 12:28:35 2014 +0000 |
tree | 284b0e690424904ad4dc5c43b130b69b0fcf2eb7 | |
parent | 374956600ecbedf5ca29c76bde114160eb805091 [diff] |
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>