Skip to content
Commit 04aafd71 authored by Shawn Guo's avatar Shawn Guo
Browse files

arm/imx: fix irq_base for gpio



When gpio core dynamically allocate gpio number for a port, it starts
from the end of the total range, 0 ~ ARCH_NR_GPIOS.  That said, the
earlier a port gets probed, the bigger gpio number it gets assigned.
To match this, the irq_base for gpio should be assigned from
'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly.

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 2a3267a4
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