]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Avoid a redundant read in cs42l51_pdn_event
authorAxel Lin <axel.lin@gmail.com>
Tue, 1 Nov 2011 07:17:57 +0000 (15:17 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Nov 2011 11:02:31 +0000 (11:02 +0000)
commite94de1e864d2d205e4e503b0f083c07f288b45fe
treeaddaac58ce6878d83b86d137036996bbf0f4f2ed
parent65ff03f4624d12ad6c19a01a0af7385eda09e4a6
ASoC: Avoid a redundant read in cs42l51_pdn_event

snd_soc_update_bits already does read-modify-write,
no need to read the register before calling snd_soc_update_bits.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs42l51.c