diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-02-18 15:22:14 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-20 18:40:07 +0900 |
commit | 113911006442a36c2b4669faf1699d9042ef80ab (patch) | |
tree | d93a53b643d0293bff11ffaceb35174524474b05 /sound/mips | |
parent | c4204960e9d0ba99459dbf1db918f99a45e7a62a (diff) |
ASoC: dapm: Add locking to snd_soc_dapm_xxxx_pin functions
The snd_soc_dapm_xxxx_pin all require the dapm_mutex to be held when
they are called as they edit the dirty list, however very few of the
callers do so.
This patch adds unlocked versions of all the functions replacing the
existing implementations with one that holds the lock internally. We
also fix up the places where the lock was actually held on the caller
side.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions