commit | 612047f0baefe2aeef1bc5ad8c7107a532b7d957 | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Mon Mar 28 14:29:22 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Mar 29 10:10:36 2016 -0700 |
tree | ffcf534f47313d0d8429c90d7fbb8e797f3b237d | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca [diff] |
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>