lkml.org 
[lkml]   [2014]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] PM fixes for kxcjk-1013
Date
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(-)

--
1.7.9.5



\
 
 \ /
  Last update: 2014-12-10 17:41    [W:0.073 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site