mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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: Daniel Mack <daniel@caiaq.de> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
8b37dbd2a1
commit
ff09d49ad0
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue