Skip to content

Commit

Permalink
ALSA: fireworks: use semicolons rather than commas to separate statem…
Browse files Browse the repository at this point in the history
…ents

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: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/1602407979-29038-5-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Julia Lawall authored and Takashi Iwai committed Oct 12, 2020
1 parent 46394db commit fe160a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/firewire/fireworks/fireworks_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pcm_init_hw_params(struct snd_efw *efw,
}

/* limit rates */
runtime->hw.rates = efw->supported_sampling_rate,
runtime->hw.rates = efw->supported_sampling_rate;
snd_pcm_limit_hw_rates(runtime);

limit_channels(&runtime->hw, pcm_channels);
Expand Down

0 comments on commit fe160a2

Please sign in to comment.