]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: dapm: Lock during userspace access
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jul 2015 15:01:24 +0000 (17:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:52:18 +0000 (20:52 -0700)
commitd90d06680f8287f11a5ad6d83680790e5da86f08
tree59a21af2412870e3401d2e753bb61a35d72aacf3
parente52e67a7832367967b3a1b363eb2f90c4f5e153a
ASoC: dapm: Lock during userspace access

commit e50b1e06b79e9d51efbff9627b4dd407184ef43f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-dapm.c