ASoC: fix typo and removed unneeded switch case for cs4270
authorDaniel Mack <daniel@caiaq.de>
Sat, 28 Feb 2009 12:21:03 +0000 (13:21 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Mar 2009 14:39:23 +0000 (14:39 +0000)
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>
sound/soc/codecs/cs4270.c

index 339e0f6b0fe271a392750a825a2af00bde18aba0..f86f33cc1798caf1f53e5e3a3491c1083e01ca02 100644 (file)
@@ -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;
        }