pinctrl: rockchip: fix restore error in resume
authorWang Panzhenzhuan <randy.wang@rock-chips.com>
Tue, 23 Feb 2021 10:07:25 +0000 (18:07 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Mar 2021 13:41:25 +0000 (14:41 +0100)
commitc971af25cda94afe71617790826a86253e88eab0
tree0a85938a621119d7e6754acf808495974cc63307
parent5d5f2919273d1089a00556cad68e7f462f3dd2eb
pinctrl: rockchip: fix restore error in resume

The restore in resume should match to suspend which only set for RK3288
SoCs pinctrl.

Fixes: 8dca933127024 ("pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume")
Reviewed-by: Jianqun Xu <jay.xu@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Link: https://lore.kernel.org/r/20210223100725.269240-1-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c