aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-02-28 07:21:03 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-02 09:39:23 -0500
commitff09d49ad0176a5f52a398c137a7ff5f669d6be4 (patch)
treee8121aaefd676aebb43469c6d0a300af0fa2f4cd /sound
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')
-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,
267 case SND_SOC_DAIFMT_CBM_CFM: 267 case SND_SOC_DAIFMT_CBM_CFM:
268 cs4270->slave_mode = 0; 268 cs4270->slave_mode = 0;
269 break; 269 break;
270 case SND_SOC_DAIFMT_CBM_CFS:
271 /* unsupported - cs4270 can eigther be slave or master to
272 * both the bitclk and the lrclk. */
273 default: 270 default:
271 /* all other modes are unsupported by the hardware */
274 ret = -EINVAL; 272 ret = -EINVAL;
275 } 273 }
276 274