Commit c8c33161 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Alessandro Rubini

kernel/spec-fmc.c: use both GPIO0 and GPIO1 as master IRQ trigger lines

parent a6b133ef
......@@ -137,6 +137,12 @@ static struct fmc_gpio spec_vic_gpio_cfg[] = {
.gpio = FMC_GPIO_IRQ(1),
.mode = GPIOF_DIR_IN,
.irqmode = IRQF_TRIGGER_RISING,
},
{
.gpio = FMC_GPIO_IRQ(0),
.mode = GPIOF_DIR_IN,
.irqmode = IRQF_TRIGGER_RISING,
}
};
......@@ -169,7 +175,7 @@ static int spec_irq_request(struct fmc_device *fmc, irq_handler_t handler,
} else {
rv = spec_shared_irq_request(fmc, handler, name, flags);
printk("Requesting irq '%s' in shared mode (rv %d)\n", name,
pr_debug("Requesting irq '%s' in shared mode (rv %d)\n", name,
rv);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment