]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: si476x: Fix locking of core
authorMark Brown <broonie@linaro.org>
Sun, 20 Oct 2013 17:14:20 +0000 (18:14 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 20 Oct 2013 21:42:02 +0000 (22:42 +0100)
commit7d70691b9d26949dfb86b523ad5c584527e07c1c
treed99da7c12a5212bceb2aef2a65f63562551cdc70
parent6eb7eafb65dd114909f6997d5ab885ed2086d6c9
ASoC: si476x: Fix locking of core

The conversion of the si476x to regmap removed locking of the core during
register updates, allowing things like power state changes for the MFD to
happen during a register update. Avoid this by taking the core lock in the
DAI operations (which are the only things that do register updates) as we
used to do in the open coded register I/O functions.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Andrey Smirnov <andrew.smirnov@gmail.com>
sound/soc/codecs/si476x.c