mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
ASoC: Fix WM8580 CLKSEL mask selection
The RX and TX directions were inverted. Reported-by: Seungwhan Youn <claude.youn@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
e4862f2f6f
commit
c25edef8dc
1 changed files with 2 additions and 2 deletions
|
@ -703,12 +703,12 @@ static int wm8580_set_sysclk(struct snd_soc_dai *dai, int clk_id,
|
|||
int sel, sel_mask, sel_shift;
|
||||
|
||||
switch (dai->driver->id) {
|
||||
case WM8580_DAI_PAIFTX:
|
||||
case WM8580_DAI_PAIFRX:
|
||||
sel_mask = 0x3;
|
||||
sel_shift = 0;
|
||||
break;
|
||||
|
||||
case WM8580_DAI_PAIFRX:
|
||||
case WM8580_DAI_PAIFTX:
|
||||
sel_mask = 0xc;
|
||||
sel_shift = 2;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue