diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-31 20:38:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-05 20:22:19 -0400 |
commit | e2d32ff6ce4ee9958f3973a086f3fa5d009e6306 (patch) | |
tree | bff37a778887f74c180649f9b86466314306dbf7 /include/sound | |
parent | e5ec69da24803c68f5c035662a68d367359a4132 (diff) |
ASoC: dapm: Ensure bypass paths are suspended and resumed
Since bypass paths aren't part of DAPM streams and we may not have any
DAPM streams there may not be anything that triggers a DAPM sync for
them. Mark all input and output widgets as dirty and then sync to do so
at the end of suspend and resume.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 0a1553748d65..07e2510619a1 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
@@ -412,6 +412,7 @@ void snd_soc_dapm_auto_nc_codec_pins(struct snd_soc_codec *codec); | |||
412 | 412 | ||
413 | /* Mostly internal - should not normally be used */ | 413 | /* Mostly internal - should not normally be used */ |
414 | void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason); | 414 | void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason); |
415 | void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm); | ||
415 | 416 | ||
416 | /* dapm path query */ | 417 | /* dapm path query */ |
417 | int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream, | 418 | int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream, |