diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-09 11:00:59 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2014-11-10 14:07:57 -0500 |
| commit | d74bcaaeb66826192c9e361cbfe8fd1ffaccf74e (patch) | |
| tree | 4ac29253fb66ed5644b57e65e7b1ae16c6ca3288 /include/linux/mfd | |
| parent | 210a5fae55c05174b8a5b571b6698626b3ae35d3 (diff) | |
ASoC: wm5102: Move ultrasonic response settings lock to the driver level
The wm5102 driver currently uses the snd_soc_codec mutex to protect its
ultrasonic response settings from concurrent access. This patch moves this
lock to the driver level. This will allow us to eventually remove the
snd_soc_codec mutex.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/arizona/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h index f34723f7663c..910e3aa1e965 100644 --- a/include/linux/mfd/arizona/core.h +++ b/include/linux/mfd/arizona/core.h | |||
| @@ -141,6 +141,7 @@ struct arizona { | |||
| 141 | 141 | ||
| 142 | uint16_t dac_comp_coeff; | 142 | uint16_t dac_comp_coeff; |
| 143 | uint8_t dac_comp_enabled; | 143 | uint8_t dac_comp_enabled; |
| 144 | struct mutex dac_comp_lock; | ||
| 144 | }; | 145 | }; |
| 145 | 146 | ||
| 146 | int arizona_clk32k_enable(struct arizona *arizona); | 147 | int arizona_clk32k_enable(struct arizona *arizona); |
