mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
pinctrl/rockchip: not need to create irq mapping for all pins
It takes time to create irq mapping for all pins in probe, remove it since the mapping will be created in gpio_to_irq. Change-Id: Idec03ea43711335190cf440fa30f9f4c654e4540 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -3850,7 +3850,7 @@ static int rockchip_interrupts_register(struct platform_device *pdev,
|
||||
unsigned int clr = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN;
|
||||
struct irq_chip_generic *gc;
|
||||
int ret;
|
||||
int i, j;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < ctrl->nr_banks; ++i, ++bank) {
|
||||
if (!bank->valid) {
|
||||
@@ -3913,10 +3913,6 @@ static int rockchip_interrupts_register(struct platform_device *pdev,
|
||||
irq_set_chained_handler_and_data(bank->irq,
|
||||
rockchip_irq_demux, bank);
|
||||
|
||||
/* map the gpio irqs here, when the clock is still running */
|
||||
for (j = 0 ; j < 32 ; j++)
|
||||
irq_create_mapping(bank->domain, j);
|
||||
|
||||
clk_disable(bank->clk);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user