Commit 46394db4 authored by Julia Lawall's avatar Julia Lawall Committed by Takashi Iwai

ALSA: hda: 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: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1602407979-29038-3-git-send-email-Julia.Lawall@inria.frSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4dda3a19
...@@ -3114,7 +3114,7 @@ static int dspxfr_one_seg(struct hda_codec *codec, ...@@ -3114,7 +3114,7 @@ static int dspxfr_one_seg(struct hda_codec *codec,
} }
data = fls->data; data = fls->data;
chip_addx = fls->chip_addr, chip_addx = fls->chip_addr;
words_to_write = fls->count; words_to_write = fls->count;
if (!words_to_write) if (!words_to_write)
......
...@@ -2451,7 +2451,7 @@ static int alloc_generic_hdmi(struct hda_codec *codec) ...@@ -2451,7 +2451,7 @@ static int alloc_generic_hdmi(struct hda_codec *codec)
spec->chmap.ops.get_chmap = hdmi_get_chmap; spec->chmap.ops.get_chmap = hdmi_get_chmap;
spec->chmap.ops.set_chmap = hdmi_set_chmap; spec->chmap.ops.set_chmap = hdmi_set_chmap;
spec->chmap.ops.is_pcm_attached = is_hdmi_pcm_attached; spec->chmap.ops.is_pcm_attached = is_hdmi_pcm_attached;
spec->chmap.ops.get_spk_alloc = hdmi_get_spk_alloc, spec->chmap.ops.get_spk_alloc = hdmi_get_spk_alloc;
codec->spec = spec; codec->spec = spec;
hdmi_array_init(spec, 4); hdmi_array_init(spec, 4);
......
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