]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: arizona: No need to update_bits when writing AEC clock control
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 26 Apr 2016 16:06:20 +0000 (17:06 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 26 Apr 2016 16:37:30 +0000 (17:37 +0100)
commitb58d8133d254c25fbe582f156cc34d744c304a89
treed0ef23971623dc950298b93aa521e0f9600d0ed3
parent4bd84d31599c9c0564cece157613ae43e3fd6177
ASoC: arizona: No need to update_bits when writing AEC clock control

The bits in the ARIZONA_CLOCK_CONTROL register only respond to writes of
a '1', a write of '0' is ignored. So there's no need to use update_bits.
We can do a simple write to set bits.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c