[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <586F55A8.9050100@samsung.com>
Date: Fri, 06 Jan 2017 17:30:32 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Peter Chen <peter.chen@....com>, myungjoo.ham@...sung.com
Cc: rogerq@...com, linux-kernel@...r.kernel.org
Subject: Re: [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@....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
Powered by blists - more mailing lists