ASoC: cs42l52: fix master playback mute mask.
authorNicolas Schichan <nschichan@freebox.fr>
Wed, 22 May 2013 17:19:27 +0000 (19:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 May 2013 18:37:07 +0000 (13:37 -0500)
commit40e2516acb426f349c70e3bada821f3203b69de2
tree88fadce71a4576892ef2c9e60c8468c8856cc1f4
parent99674c721fd9393030365b66cbbceaa193b0c0fd
ASoC: cs42l52: fix master playback mute mask.

The mask should define the bits to change in the register, not the
bits to preserve.

This fixes the inadvertent changes of the "Headphone Analog Gain"
value during mute/unmute.

Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs42l52.h