linux-hardened/include/linux/mfd/wm831x
Mark Brown b03b4d7cdd mfd: Ensure WM831x charger interrupts are acknowledged when suspending
The charger interrupts on the WM831x are unconditionally a wake source
for the system. If the power driver is not able to monitor them (for
example, due to the IRQ line not having been wired up on the system)
then any charger interrupt will prevent the system suspending for any
meaningful amount of time since nothing will ack them.

Avoid this issue by manually acknowledging these interrupts when we
suspend the WM831x core device if they are masked. If software is
actually using the interrupts then they will be unmasked and this
change will have no effect.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-05-28 01:37:39 +02:00
..
auxadc.h
core.h mfd: Ensure WM831x charger interrupts are acknowledged when suspending 2010-05-28 01:37:39 +02:00
gpio.h mfd: Add WM831x revision B support 2010-03-07 22:17:29 +01:00
irq.h
otp.h
pdata.h regulator: Implement WM831x BuckWise DC-DC convertor DVS support 2009-12-17 10:27:22 +00:00
pmu.h
regulator.h mfd: Correct WM831X_MAX_ISEL_VALUE 2009-12-01 11:24:19 +01:00
status.h
watchdog.h