提交 5f960294 编写于 作者: M Mark Brown

ASoC: wm5100: Remove DSP B and left justified formats

These are not supported
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
上级 d1c3ed66
...@@ -1279,15 +1279,9 @@ static int wm5100_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) ...@@ -1279,15 +1279,9 @@ static int wm5100_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
case SND_SOC_DAIFMT_DSP_A: case SND_SOC_DAIFMT_DSP_A:
mask = 0; mask = 0;
break; break;
case SND_SOC_DAIFMT_DSP_B:
mask = 1;
break;
case SND_SOC_DAIFMT_I2S: case SND_SOC_DAIFMT_I2S:
mask = 2; mask = 2;
break; break;
case SND_SOC_DAIFMT_LEFT_J:
mask = 3;
break;
default: default:
dev_err(codec->dev, "Unsupported DAI format %d\n", dev_err(codec->dev, "Unsupported DAI format %d\n",
fmt & SND_SOC_DAIFMT_FORMAT_MASK); fmt & SND_SOC_DAIFMT_FORMAT_MASK);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册