Commit f3a612a6 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

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 <brian.austin@cirrus.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 03ff570c
......@@ -540,7 +540,7 @@ static int cs35l35_hw_params(struct snd_pcm_substream *substream,
default:
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,
default:
dev_err(codec->dev, "ratio not supported\n");
return -EINVAL;
};
}
}
ret = regmap_update_bits(cs35l35->regmap,
CS35L35_CLK_CTL3,
......@@ -703,7 +703,7 @@ static int cs35l35_codec_set_sysclk(struct snd_soc_codec *codec,
default:
dev_err(codec->dev, "Invalid CLK Source\n");
return -EINVAL;
};
}
switch (freq) {
case 5644800:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment