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)
commitd94ea3f6d21e8b4398285516cc307c81d7374ec9
treef81e5fdfee0933a578058656968a423a9b125d51
parent94a63da0ac1a67bfb8b30aec1086523c5031ea5a
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