lkml.org 
[lkml]   [2017]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/1] extcon: usb-gpio: add pinctrl operation during system PM
Hi Peter,

On 2017년 01월 04일 16:19, Peter Chen wrote:
> At some systems, the pinctrl setting will be lost or needs to
> set as "sleep" state to save power consumption. So, we need to
> configure pinctrl as "sleep" state when system enters suspend,
> and as "default" state after system resumes. In this way, the
> pinctrl value can be recovered as "default" state after resuming.
>
> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> ---
> Changes for v2:
> - Add header file for pinctrl to avoid build error
> - Only set pin as "sleep" state when the wakeup is not requested
>
> drivers/extcon/extcon-usb-gpio.c | 7 +++++++
> 1 file changed, 7 insertions(+)

Applied it. Thanks.

--
Best Regards,
Chanwoo Choi
S/W Center, Samsung Electronics

\
 
 \ /
  Last update: 2017-01-06 09:31    [W:0.037 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site