diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2020-10-11 12:19:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-26 18:28:05 +0300 |
commit | 2db5fa77cd7ea4bd18c7e1afb49417debc9f498a (patch) | |
tree | f8552ce46b7b0da0993d1bd162ce7359ca186a47 /sound/soc/codecs/wm8350.c | |
parent | fc7f6a054e1a8c5525bf59c73d8e6333d48a5120 (diff) | |
download | linux-2db5fa77cd7ea4bd18c7e1afb49417debc9f498a.tar.xz |
ASoC: wm8350: use semicolons rather than commas to separate statements
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>
Diffstat (limited to 'sound/soc/codecs/wm8350.c')
-rw-r--r-- | sound/soc/codecs/wm8350.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index a6aa212fa0c8..15d42ce3b21d 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c @@ -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) |