提交 ff09d49a 编写于 作者: D Daniel Mack 提交者: Mark Brown

ASoC: fix typo and removed unneeded switch case for cs4270

This removes a misspelled comment and got rid of superfluous switch
case.
Signed-off-by: NDaniel Mack <daniel@caiaq.de>
Acked-by: NTimur Tabi <timur@freescale.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 8b37dbd2
......@@ -267,10 +267,8 @@ static int cs4270_set_dai_fmt(struct snd_soc_dai *codec_dai,
case SND_SOC_DAIFMT_CBM_CFM:
cs4270->slave_mode = 0;
break;
case SND_SOC_DAIFMT_CBM_CFS:
/* unsupported - cs4270 can eigther be slave or master to
* both the bitclk and the lrclk. */
default:
/* all other modes are unsupported by the hardware */
ret = -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册