ASoC: SOF: Intel: hda: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 09:19:36 +0000 (11:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 15:28:07 +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>
Link: https://lore.kernel.org/r/1602407979-29038-6-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c

index 18ff1c2f5376e3cdb541433956d95080749e9660..2b001151fe376c83b55066513a487f1524b0d8df 100644 (file)
@@ -44,7 +44,7 @@ int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask)
        reset = HDA_DSP_ADSPCS_CRST_MASK(core_mask);
        snd_sof_dsp_update_bits_unlocked(sdev, HDA_DSP_BAR,
                                         HDA_DSP_REG_ADSPCS,
-                                        reset, reset),
+                                        reset, reset);
 
        /* poll with timeout to check if operation successful */
        ret = snd_sof_dsp_read_poll_timeout(sdev, HDA_DSP_BAR,