aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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