summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau1373.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-09-04 21:44:07 +0400
committerMark Brown <broonie@kernel.org>2014-09-04 23:10:25 +0400
commita80932979a72ef9d4e66a69520c7588cc6de5699 (patch)
tree78b33bf8816bc0df7333ae765f5d8315b8ae799e /sound/soc/codecs/adau1373.c
parent86dbf2ac6fcb2d2932d4610f2dfe0954aa0633f7 (diff)
downloadlinux-a80932979a72ef9d4e66a69520c7588cc6de5699.tar.xz
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 'sound/soc/codecs/adau1373.c')
0 files changed, 0 insertions, 0 deletions