diff options
author | Liam Girdwood <lrg@ti.com> | 2012-07-06 16:57:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-09 08:22:37 -0700 |
commit | 1bcf4064cc1abefe860d6b3716f4e21a030cefc1 (patch) | |
tree | 6e6de095ab9fb787d41c68de2477b06547a81b6f /arch/c6x | |
parent | 91352cfc7d2b1029a2659fadf69cf278aa2f1557 (diff) |
ASoC: dapm: Fix locking during codec shutdown
commit 01005a729a17ab419f61a366e22f3419e7a2c3fe upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions