mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
gpio: rockchip: clear pendings before isr_handler is valid
Change-Id: I93625437bc4e0096fbc6eca42f6bb3852a672d94 Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
This commit is contained in:
parent
e1d7d04c2c
commit
83cd7dfb99
|
|
@ -522,6 +522,7 @@ static int rockchip_interrupts_register(struct rockchip_pin_bank *bank)
|
|||
* things enabled, so for us that's all masked and all enabled.
|
||||
*/
|
||||
rockchip_gpio_writel(bank, 0xffffffff, bank->gpio_regs->int_mask);
|
||||
rockchip_gpio_writel(bank, 0xffffffff, bank->gpio_regs->port_eoi);
|
||||
rockchip_gpio_writel(bank, 0xffffffff, bank->gpio_regs->int_en);
|
||||
gc->mask_cache = 0xffffffff;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user