]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: scarlett2: Fix redeclaration of loop variable
authorGeoffrey D. Bennett <g@b4.vu>
Fri, 4 Oct 2024 14:27:54 +0000 (23:57 +0930)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Oct 2024 08:11:48 +0000 (10:11 +0200)
commit5e7b782259fd396c7802948f5901bb2d769ddff8
tree7c33585c6bdcca70cb960fbac51f966682279151
parent8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
ALSA: scarlett2: Fix redeclaration of loop variable

Was using both "for (i = 0, ..." and "for (int i = 0, ..." in
scarlett2_update_autogain(). Remove "int" to fix.

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