Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff09d49a authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown
Browse files

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: default avatarDaniel Mack <daniel@caiaq.de>
Acked-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8b37dbd2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
	}