]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Mark cache as dirty when suspending
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 18 Jul 2011 04:17:13 +0000 (13:17 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 19 Jul 2011 15:16:00 +0000 (16:16 +0100)
commitd6b52e496151a951b3769b8a25b186ed16d6db5d
tree171a0b4922f32e3b6da60ee528979333a9c8dbc7
parenta82958bcb50d401a1f0d15bf2139ab39bab4119d
ASoC: Mark cache as dirty when suspending

Since quite a few drivers are not managing to flag the cache as needing
to be resynced after suspend and it's a reasonable thing to do flag the
cache as needing sync automatically when suspending.

The expectation is that systems will mainly only keep the CODEC powered
when doing audio through the CODEC so we won't actually suspend the
device anyway; drivers which want to can override this behaviour when
they resume.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Cc: stable@kernel.org
sound/soc/soc-core.c