[PATCH v2 0/4] PM fixes for kxcjk-1013

From: Irina Tirdea
Date: Wed Dec 10 2014 - 10:59:08 EST

This is a small set of power manangement fixes for kxcjk-1013 accel driver,
mostly related to error handling.

Jonathan, you mentioned that you applied the first 2 patches from this series
to the togreg branch, but I cannot find them there or on the testing branch.
I have included them in v2, but they are identical to those in the first version.

Changes since v1:
- always set power state to off in case of i2c error (patch 3)
- patches 3 and 4 reviewed by Srinivas

Irina Tirdea (4):
iio: accel: kxcjk-1013: always power on device in resume
iio: accel: kxcjk-1013: only set power state if CONFIG_PM is defined
iio: accel: kxcjk-1013: error handling when set mode fails
iio: accel: kxcjk-1013: power off device if probe fails

drivers/iio/accel/kxcjk-1013.c | 38 +++++++++++++++++++++++++++-----------
1 file changed, 27 insertions(+), 11 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/