Skip to content

PM fixes for kxcjk-1013

Irina Tirdea linux-iio lkml 2 versions – Applied

Status from this message: Applied to the togreg branch of iio.git - initially pushed out as

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v14 patches 3 repliesApplied

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4iio: accel: kxcjk-1013: always power on device in resumedrivers/iio/accel/kxcjk-1013.c+1 -40 replies
2/4iio: accel: kxcjk-1013: only set power state if CONFIG_PM is defineddrivers/iio/accel/kxcjk-1013.c+2 -00 replies
3/4iio: accel: kxcjk-1013: error handling when set mode failsdrivers/iio/accel/kxcjk-1013.c+12 -11 reply
4/4iio: accel: kxcjk-1013: power off device if probe failsdrivers/iio/accel/kxcjk-1013.c+12 -61 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSrinivas Pandruvada
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
1.7.9.5