ASoC: wm_adsp: Fix some subtle races on compressed stream
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 28 Mar 2016 13:29:22 +0000 (14:29 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 29 Mar 2016 17:10:36 +0000 (10:10 -0700)
commit612047f0baefe2aeef1bc5ad8c7107a532b7d957
treeffcf534f47313d0d8429c90d7fbb8e797f3b237d
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ASoC: wm_adsp: Fix some subtle races on compressed stream

Firstly, we should be locking the pwr_lock when we initialise the
compressed buffer. Secondly, fixup a couple of places when we should be
pulling pointers only under the pwr_lock as they may be affected by
operations that take that lock.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
This page took 0.025217 seconds and 5 git commands to generate.