]> git.baikalelectronics.ru Git - kernel.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)
commit3e45470113db57c876f65a99c3e84056c4771705
treeaddaac58ce6878d83b86d137036996bbf0f4f2ed
parent686281475c60dc3b71c4f025775225b1d6a3544d
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