regmap: irq: Use a bulk read for interrupt status where possible
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 Jan 2013 14:27:15 +0000 (14:27 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Jan 2013 20:53:42 +0000 (20:53 +0000)
commita7440eaa90cf2659920b9b28973cc1a13a2b331f
tree0a49d1e09602bff848a0cbd8482f55497eda53f4
parentbbae92ca49f77898277576e3377b09e1391a3271
regmap: irq: Use a bulk read for interrupt status where possible

If the interrupt status registers are a single block of registers and the
chip supports bulk reads then do a single bulk read rather than pay the
extra I/O cost. This restores the original behaviour which was lost when
support for register striding was added.

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