summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs4270.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-02-28 13:21:03 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-02 14:39:23 +0000
commitff09d49ad0176a5f52a398c137a7ff5f669d6be4 (patch)
treee8121aaefd676aebb43469c6d0a300af0fa2f4cd /sound/soc/codecs/cs4270.c
parent8b37dbd2a180667e51db0552383df18743239c25 (diff)
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>
Diffstat (limited to 'sound/soc/codecs/cs4270.c')
-rw-r--r--sound/soc/codecs/cs4270.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 339e0f6b0fe2..f86f33cc1798 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -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;
}