]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: scarlett2: Fix mixed declarations and code warning
authorGeoffrey D. Bennett <g@b4.vu>
Fri, 4 Oct 2024 14:28:12 +0000 (23:58 +0930)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Oct 2024 08:11:49 +0000 (10:11 +0200)
commit5c293089af7de1393af9efd2eb3354b10703670e
treeb07ecea06044e2c8179ce93ed1485e2cb92ae82e
parent5e7b782259fd396c7802948f5901bb2d769ddff8
ALSA: scarlett2: Fix mixed declarations and code warning

In scarlett2_compressor_ctl_put(), move the declaration of param to
the beginning of the function to avoid mixed declarations and code.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/ede84092737fa2ca7e94371135cc1e42f1731e84.1727971672.git.g@b4.vu
sound/usb/mixer_scarlett2.c