regmap: Report if we actually handled an interrupt in regmap-irq
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Nov 2011 18:50:39 +0000 (18:50 +0000)
committerLokesh Pathak <lpathak@nvidia.com>
Mon, 5 Mar 2012 15:54:50 +0000 (07:54 -0800)
commitbbdf62cbce8305891dbd78a8a32626c1d7c69005
treee35c03da720d0c29b2fd7505caf955c353a35ffb
parent818aa1fa992924adebb6d957484ef3af3bec0f75
regmap: Report if we actually handled an interrupt in regmap-irq

While the IRQ core doesn't currently support shared threaded interrupts
that's no reason for drivers not to do their bit and report IRQ_NONE when
they don't get an interrupt. This allows the core spurious/wedget interrupt
detection support to do its thing.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit d23511f9590870effa5ace575b59aac18c47175f)

Change-Id: Iee387fd88ac0b5f542cbe171da92d9b621a94e30
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87570
drivers/base/regmap/regmap-irq.c