From: Daniel Mack Date: Sat, 28 Feb 2009 12:21:03 +0000 (+0100) Subject: ASoC: fix typo and removed unneeded switch case for cs4270 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff09d49ad0176a5f52a398c137a7ff5f669d6be4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Timur Tabi Signed-off-by: Mark Brown --- 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; }