regmap: irq: Allow using zero value for ack_base
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 15 Dec 2013 09:36:51 +0000 (13:36 +0400)
committerMark Brown <broonie@linaro.org>
Mon, 16 Dec 2013 20:50:13 +0000 (20:50 +0000)
commitd3233433356aa1965b60b08ee61465b20e50474b
treecd693a91f65f5c2aa937047459fd6f3d49fcd719
parent319e2e3f63c348a9b66db4667efa73178e18b17d
regmap: irq: Allow using zero value for ack_base

In some cases, clear interrupt register may be at address 0.
This patch allows to use such configurations by adding additional
configuration bit to indicate this.

[With doc fix from Levente Kurusa <levex@linux.com> -- broonie]

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h