]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Provide pm_runtime_no_callbacks flag in cell data
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 26 Nov 2010 17:19:34 +0000 (17:19 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:37:42 +0000 (12:37 +0100)
commitc147d29a1c87333568252641bd528e57a22d4f8a
tree14eea47a6ca27e03d16514fe397a1cd9fbf4a901
parent373806eb69a46387ea177e44b3c9372fefd9ae05
mfd: Provide pm_runtime_no_callbacks flag in cell data

Allow MFD cells to have pm_runtime_no_callbacks() called on them during
registration. This causes the runtime PM framework to ignore them,
allowing use of runtime PM to suspend the device as a whole even if
not all drivers for the MFD can usefully implement runtime PM. For
example, RTCs are likely to run continuously regardless of the power
state of the system.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mfd-core.c
include/linux/mfd/core.h