Skip to content

Commit

Permalink
ASoC: fix typo and removed unneeded switch case for cs4270
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Mack authored and Mark Brown committed Mar 2, 2009
1 parent 8b37dbd commit ff09d49
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sound/soc/codecs/cs4270.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ff09d49

Please sign in to comment.