OSDN Git Service

ASoC: Intel: bytcr_rt5651: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 09:19:34 +0000 (11:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 15:28:06 +0000 (15:28 +0000)
Replace commas with semicolons.  What is done is essentially described by
the following Coccinelle semantic patch (http://coccinelle.lip6.fr/):

// <smpl>
@@ expression e1,e2; @@
e1
-,
+;
e2
... when any
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/1602407979-29038-4-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c

index 688b5e0..64d3fc4 100644 (file)
@@ -143,7 +143,7 @@ static int byt_rt5651_prepare_and_enable_pll1(struct snd_soc_dai *codec_dai,
 
        /* Configure the PLL before selecting it */
        if (!(byt_rt5651_quirk & BYT_RT5651_MCLK_EN)) {
-               clk_id = RT5651_PLL1_S_BCLK1,
+               clk_id = RT5651_PLL1_S_BCLK1;
                clk_freq = rate * bclk_ratio;
        } else {
                clk_id = RT5651_PLL1_S_MCLK;