ASoC: mc13783: Fix wrong mask value used in mc13xxx_reg_rmw() calls
authorAxel Lin <axel.lin@ingics.com>
Mon, 27 Apr 2015 06:51:35 +0000 (14:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 06:19:55 +0000 (23:19 -0700)
commit048a067a58e274b64a443365996009e60345a8f2
tree8b3d7f330fa68deb48f8fb6454fa9671b75465f4
parent28bb832e33218f925421dbeae4076ae08579ff59
ASoC: mc13783: Fix wrong mask value used in mc13xxx_reg_rmw() calls

commit 545774bd6e1427d98dde77244329d2311c5eca6f upstream.

mc13xxx_reg_rmw() won't change any bit if passing 0 to the mask field.
Pass AUDIO_SSI_SEL instead of 0 for the mask field to set AUDIO_SSI_SEL
bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/mc13783.c