]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ab8500: Fix dt irq mapping
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 2 Jun 2014 16:27:58 +0000 (19:27 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 26 Jun 2014 12:34:15 +0000 (13:34 +0100)
commit5f357e5d071647c7ce6e4060416946a92cc1c667
tree2dd4fa8f1c57fa480ce134f0ab4283cd7b0fc757
parentaa594e501071df4a6b7185436e280f089d33236a
mfd: ab8500: Fix dt irq mapping

The AD8500 defines itself as interrupt-controller in DT,
but it doesn't assign DT node to IRQ domain when creates it.
As result, of_irq_xx() helpers don't work because they can't
find necessary IRQ domain.

Hence, fix it by assigning AD8500 core device DT node to IRQ
domain when it's created.

This patch fixes STE u8500 Snowball boot failure reported by Kevin Hilman
https://lkml.org/lkml/2014/5/27/624

Reported-and-tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-core.c