summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-09-04 19:44:07 +0200
committerMark Brown <broonie@kernel.org>2014-09-04 20:10:25 +0100
commita80932979a72ef9d4e66a69520c7588cc6de5699 (patch)
tree78b33bf8816bc0df7333ae765f5d8315b8ae799e /tools/perf/scripts/python
parent86dbf2ac6fcb2d2932d4610f2dfe0954aa0633f7 (diff)
ASoC: Always run default suspend/resume code
We do a bit more than just running the callbacks during suspend and resume these days (e.g. call regcache_mark_dirty() during suspend). But this is only when suspend and resume callbacks are specified for the driver, otherwise nothing is done. This means that drivers which don't want to do anything special during suspend and resume, but still want the standard operations to run, need to provide empty suspend and resume callback functions (rather than no callbacks). This patch updates the suspend and resume code to always run standard sequence regardless of whether suspend and resume handlers are provided. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions