diff options
author | David Cohen <david.a.cohen@intel.com> | 2013-05-06 16:11:03 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-20 20:10:22 +0200 |
commit | 2519f9abced15b4327f03d7b8666827517582c29 (patch) | |
tree | e960822ef78c74d1e6e4c55451f45e1c427e59a6 /drivers/gpio/gpio-mxs.c | |
parent | 0f119a840b128f18b20608f0d33895e85f381105 (diff) | |
download | blackbird-op-linux-2519f9abced15b4327f03d7b8666827517582c29.tar.gz blackbird-op-linux-2519f9abced15b4327f03d7b8666827517582c29.zip |
gpio-langwell: fix irq conflicts when DT is not used
When DT is not used IOAPIC does not register irq domain. As result
IOAPIC won't care about gpio-langwell's virq and may cause conflict if
an irq number is equal to gpio-langwell's virq mapped beforehand.
This patch tells gpio_langwell to not ignore irq_base if != 0 and
preferably use it to avoid the conflict.
If DT is used, irq_base can safely be 0.
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mxs.c')
0 files changed, 0 insertions, 0 deletions