]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: rockchip: clear int status when driver probed
authorJianqun Xu <jay.xu@rock-chips.com>
Tue, 23 Feb 2021 10:19:37 +0000 (18:19 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Mar 2021 13:41:12 +0000 (14:41 +0100)
commit04adf18f1331016fc7c79abd0c53753825e47673
tree9501104dafc848ed38156f1793c32dae1a7849d0
parentf7e67b2bf9bcab04d9f0f098a9c12b0e1e1e3b37
pinctrl: rockchip: clear int status when driver probed

Some devices may do gpio interrupt trigger and make an int status before
pinctrl driver probed, then the gpio handler will keep complain untill
the device driver works to stop trigger.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20210223101937.273085-1-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c