]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: Return -EPERM for reserved IRQs
authorGrant Likely <grant.likely@linaro.org>
Thu, 6 Jun 2013 13:11:38 +0000 (14:11 +0100)
committerGrant Likely <grant.likely@linaro.org>
Sat, 8 Jun 2013 20:34:16 +0000 (21:34 +0100)
commita286757250d88f3b12b53d749be7a8bf74a74b62
treef81e5fdfee0933a578058656968a423a9b125d51
parent542fedf85f3ff4012a439c7eb84d64fa57b2807a
irqchip: Return -EPERM for reserved IRQs

The irqdomain core will report a log message for any attempted map call
that fails unless the error code is -EPERM. This patch changes the
Versatile irq controller drivers to use -EPERM because it is normal for
a subset of the IRQ inputs to be marked as reserved on the various
Versatile platforms.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/irqchip/irq-versatile-fpga.c
drivers/irqchip/irq-vic.c