]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Enforce the mask in snd_soc_update_bits()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jun 2011 16:09:14 +0000 (17:09 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Jun 2011 11:48:42 +0000 (12:48 +0100)
commit878a8266e50d827e90d575fda6840514cf577f66
tree37a0b57fe0bce39105a869fe5c7bfaefac4ccca4
parent5e70c4033292ddf75ad97224f395eee5c2318b86
ASoC: Enforce the mask in snd_soc_update_bits()

Avoids issues if someone does a read followed by restore and doesn't mask
out only the bits being updated.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c