]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
regmap: Don't try to map non-existant IRQs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 13:29:36 +0000 (14:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 13:38:20 +0000 (14:38 +0100)
commitbfd6185ddecc6e6f6bd654c053c307c9e49ca391
tree0374aabdf423ae10df80d4d2ecd2cb1f82507a1d
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
regmap: Don't try to map non-existant IRQs

If the driver supplied an empty entry in the array of IRQs then return
an error rather than trying to do the mapping. This is intended for use
with handling chip variants and similar situations.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-irq.c