]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: wm8350: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 09:19:32 +0000 (11:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 15:28:05 +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: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/1602407979-29038-2-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8350.c

index a6aa212fa0c89faa2865755cf68da635226f27a6..15d42ce3b21d67362651c9148dca9b1ed78311ca 100644 (file)
@@ -218,7 +218,8 @@ static void wm8350_pga_work(struct work_struct *work)
 
        /* PGA volumes have 6 bits of resolution to ramp */
        for (i = 0; i <= 63; i++) {
-               out1_complete = 1, out2_complete = 1;
+               out1_complete = 1;
+               out2_complete = 1;
                if (out1->ramp != WM8350_RAMP_NONE)
                        out1_complete = wm8350_out1_ramp_step(wm8350_data);
                if (out2->ramp != WM8350_RAMP_NONE)