mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
8e0469a4f3
Currently, there's no runtime pm in stm class devices, which makes it harder for the underlying hardware drivers to handle their power management. This patch applies the following runtime pm policy to stm class devices, which their parents can rely on for their power management tracking: * device is in use during character device writes, * delayed autosuspend is used to keep it active between adjacent writes, * device is in use while mmio regions are mapped, * device is is use while any stm_source devices are linked to it. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Chunyan Zhang <zhang.chunyan@linaro.org> |
||
---|---|---|
.. | ||
console.c | ||
core.c | ||
dummy_stm.c | ||
heartbeat.c | ||
Kconfig | ||
Makefile | ||
policy.c | ||
stm.h |