Skip to content

Commit 21d17dd

Browse files
AxelLinbroonie
authored andcommitted
ASoC: Fix setting update bits for WM8753_LADC and WM8753_RADC
Current code set update bits for WM8753_LDAC and WM8753_RDAC twice, but missed setting update bits for WM8753_LADC and WM8753_RADC. I think it is a copy-paste bug in commit 776065 "ASoC: codecs: wm8753: Fix register cache incoherency". Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
1 parent eff919a commit 21d17dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/wm8753.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,8 +1454,8 @@ static int wm8753_probe(struct snd_soc_codec *codec)
14541454
/* set the update bits */
14551455
snd_soc_update_bits(codec, WM8753_LDAC, 0x0100, 0x0100);
14561456
snd_soc_update_bits(codec, WM8753_RDAC, 0x0100, 0x0100);
1457-
snd_soc_update_bits(codec, WM8753_LDAC, 0x0100, 0x0100);
1458-
snd_soc_update_bits(codec, WM8753_RDAC, 0x0100, 0x0100);
1457+
snd_soc_update_bits(codec, WM8753_LADC, 0x0100, 0x0100);
1458+
snd_soc_update_bits(codec, WM8753_RADC, 0x0100, 0x0100);
14591459
snd_soc_update_bits(codec, WM8753_LOUT1V, 0x0100, 0x0100);
14601460
snd_soc_update_bits(codec, WM8753_ROUT1V, 0x0100, 0x0100);
14611461
snd_soc_update_bits(codec, WM8753_LOUT2V, 0x0100, 0x0100);

0 commit comments

Comments
 (0)