提交 c25edef8 编写于 作者: M Mark Brown

ASoC: Fix WM8580 CLKSEL mask selection

The RX and TX directions were inverted.
Reported-by: NSeungwhan Youn <claude.youn@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 e4862f2f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册