]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: exynos: look up irq using irq_find_mapping
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Apr 2013 21:57:26 +0000 (23:57 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 21:00:43 +0000 (23:00 +0200)
commite10a29aaeb97f2514e1a45b83a99a7974ebf63d8
tree2dc5d7ca8c7b460eef5d6d7d4609203cf5615fc1
parentb93c5d4c60d4d6a59e90f92ccfb8af3fa194729f
irqchip: exynos: look up irq using irq_find_mapping

Since we want to move to using the linear IRQ domain in the
future, we cannot rely on the irq numbers to be contiguous
and need to look up the irq from the hwirq using the domain.

This also turns the bogus comparison with NR_IRQ into a
more meaningful check to see if the number has a valid mapping.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/irqchip/exynos-combiner.c