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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:05:43 +0000 (13:05 +0100)
commit0ec799d3d60ad70ef253003fdd8e542a5bab77ed
treea2aba8cd717e0e2c9208caeda6ceb70cf537afb7
parente70b62f002bbd50fe1825fe5c63bbaa53cc48539
pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq

[ Upstream commit 63fbf8013b2f6430754526ef9594f229c7219b1f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/pinctrl-rockchip.c