Applied "ASoC: cs35l35: fix semicolon.cocci warnings" to the asoc tree
diff mbox

Message ID E1cnTI8-00051a-GP@debutante
State Not Applicable
Headers show

Commit Message

Mark Brown March 13, 2017, 4:57 p.m. UTC
The patch

   ASoC: cs35l35: fix semicolon.cocci warnings

has been applied to the asoc tree at


All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.


From f3a612a655c1ca585c89c654c06e56eb2f8539e4 Mon Sep 17 00:00:00 2001
From: kbuild test robot <>
Date: Sun, 12 Mar 2017 09:11:32 +0800
Subject: [PATCH] ASoC: cs35l35: fix semicolon.cocci warnings

sound/soc/codecs/cs35l35.c:706:2-3: Unneeded semicolon
sound/soc/codecs/cs35l35.c:543:4-5: Unneeded semicolon
sound/soc/codecs/cs35l35.c:553:4-5: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Brian Austin <>
Signed-off-by: Fengguang Wu <>
Signed-off-by: Mark Brown <>
 sound/soc/codecs/cs35l35.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff mbox

diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index a5da1d511a8a..6a266516f543 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -540,7 +540,7 @@  static int cs35l35_hw_params(struct snd_pcm_substream *substream,
 				dev_err(codec->dev, "ratio not supported\n");
 				return -EINVAL;
-			};
+			}
 		} else {
 			/* Only certain ratios supported in I2S MASTER Mode */
 			switch (sp_sclks) {
@@ -550,7 +550,7 @@  static int cs35l35_hw_params(struct snd_pcm_substream *substream,
 				dev_err(codec->dev, "ratio not supported\n");
 				return -EINVAL;
-			};
+			}
 		ret = regmap_update_bits(cs35l35->regmap,
@@ -703,7 +703,7 @@  static int cs35l35_codec_set_sysclk(struct snd_soc_codec *codec,
 		dev_err(codec->dev, "Invalid CLK Source\n");
 		return -EINVAL;
-	};
+	}
 	switch (freq) {
 	case 5644800: