pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq
authorJianqun Xu <jay.xu@rock-chips.com>
Tue, 13 Oct 2020 06:37:30 +0000 (14:37 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Nov 2020 14:00:28 +0000 (15:00 +0100)
commit63fbf8013b2f6430754526ef9594f229c7219b1f
tree00025caa87ffd892622116e9ff59bd4c64d085c7
parentf83c2609079cde0bb3ad4c1da60f9c69c0ec8920
pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq

There need to enable pclk_gpio when do irq_create_mapping, since it will
do access to gpio controller.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
Link: https://lore.kernel.org/r/20201013063731.3618-3-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c