commit | 01005a729a17ab419f61a366e22f3419e7a2c3fe | [log] [tgz] |
---|---|---|
author | Liam Girdwood <lrg@ti.com> | Fri Jul 06 16:57:05 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Jul 06 18:58:46 2012 +0100 |
tree | b20e2b99c10fa7cf8670974fb823ecf5aca4c040 | |
parent | 32fee7afe763344ef53bbd4e737aa6168a9308aa [diff] |
ASoC: dapm: Fix locking during codec shutdown Codec shutdown performs a DAPM power sequence that might cause conflicts and/or race conditions if another stream power event is running simultaneously. Use card's dapm mutex to protect any potential race condition between them. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org