pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume
authorChris Zhong <zyw@rock-chips.com>
Wed, 29 Oct 2014 11:52:00 +0000 (19:52 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 31 Oct 2014 22:50:39 +0000 (23:50 +0100)
commit8dca9331270240125fedbe83e0a2cd5750ed9fff
tree351922c2328f4ba2fee37ebe20d05ecb62258939
parent9198f509c888f1ca8f5a50047d702b1ab29459a5
pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume

Save and restore the gpio6_c6 pinmux setting, since Maskrom of RK3288
would modify it to sdmmc0_det, so it need to be restored to the correct
setting after resume from Maskrom.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/pinctrl/pinctrl-rockchip.c