ASoC: dapm: Lock during userspace access
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jul 2015 15:01:24 +0000 (17:01 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jul 2015 19:27:06 +0000 (20:27 +0100)
commite50b1e06b79e9d51efbff9627b4dd407184ef43f
tree522717f8b80cd98f5b03b5a900129bf411aaef4a
parentffacb48e5a4665d3d7286babb38a5af855a36bc0
ASoC: dapm: Lock during userspace access

The DAPM lock must be held when accessing the DAPM graph status through
sysfs or debugfs, otherwise concurrent changes to the graph can result in
undefined behaviour.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/soc-dapm.c