OSDN Git Service

gpio/rockchip: fetch deferred output settings on probe
authorHeiko Stuebner <heiko@sntech.de>
Mon, 13 Sep 2021 22:49:26 +0000 (00:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Sep 2021 23:36:35 +0000 (01:36 +0200)
commit59dd178e1d7cb6cac03b32aba7ed9bbce6761b6f
treed3a3851f52ca21ebfe6cad96067eaad83ecba505
parente7165b1dff06b6e4373ab7758b21f3d9ed8a64ca
gpio/rockchip: fetch deferred output settings on probe

Fetch the output settings the pinctrl driver may have created
for pinctrl hogs and set the relevant pins as requested.

Fixes: 9ce9a02039de ("pinctrl/rockchip: drop the gpio related codes")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20210913224926.1260726-5-heiko@sntech.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rockchip.c