ASoC: msm: Add dapm ignore suspend for front end dais
DAPM marks front end dai as dirty during ASoC suspend which triggers device path teardown. Add ignore suspend to all front end dais to avoid device path teardown. CRs-Fixed: 1031932 Change-Id: I1d85578534c58c121ca8e560d67faf9b94e87be9 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
parent
956d9b1ab3
commit
23c3ff0a00
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,7 @@ static int fe_dai_probe(struct snd_soc_dai *dai)
|
|||
dev_dbg(dai->dev, "%s src %s sink %s\n",
|
||||
__func__, intercon.source, intercon.sink);
|
||||
snd_soc_dapm_add_routes(dapm, &intercon, 1);
|
||||
snd_soc_dapm_ignore_suspend(dapm, intercon.source);
|
||||
}
|
||||
if (dai->driver->capture.stream_name &&
|
||||
dai->driver->capture.aif_name) {
|
||||
|
@ -73,6 +74,7 @@ static int fe_dai_probe(struct snd_soc_dai *dai)
|
|||
dev_dbg(dai->dev, "%s src %s sink %s\n",
|
||||
__func__, intercon.source, intercon.sink);
|
||||
snd_soc_dapm_add_routes(dapm, &intercon, 1);
|
||||
snd_soc_dapm_ignore_suspend(dapm, intercon.sink);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue