commit | bcb7440e76a96c8a244bd683142a38f7d5cecb93 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@nxp.com> | Wed Jan 04 15:19:51 2017 +0800 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Mon Jan 09 10:04:12 2017 +0900 |
tree | d10b19d22a15882c2f28d01319cd947af6dd278e | |
parent | e6cf046543763878614d51e8283abd40d5e5327e [diff] |
extcon: usb-gpio: Add pinctrl operation during system PM 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> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>