regmap: irq: enable wake support by default
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 19 Apr 2013 13:43:16 +0000 (18:43 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 19 Apr 2013 21:42:42 +0000 (14:42 -0700)
commitde4dc45b9db9caf9696f573e2f323c6c01549e78
treeaaf1bb309b6b1d416167305500b3ee43c135529c
parenta2442dc1d8626ab6cad0d30d00ac27e65591a739
regmap: irq: enable wake support by default

regmap-irq framework is used vastly by mfd drivers and some of
devices like TPS65910, TPS80036 do not support the wake base
register to enable wake.

Currently wake in regmap-irq only supported if client driver
passes the wake base register.

As the regmap-irq is mostly used by mfd devices and it is require
to have wake support from these devices in most of use cases,
enabling wake support by default in regmap-irq.

(Cherrypicked from mainline
55ac85e942c6783e728964861df36fc80e8ced93)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

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