diff options
author | Geraldo Nascimento <geraldogabriel@gmail.com> | 2021-12-04 15:52:24 -0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-12-06 10:06:20 +0100 |
commit | fb1af5bea4670c835e42fc0c14c49d3499468774 (patch) | |
tree | 8942a7a9dc44c6cf7ce1cfbfcfe3ff8f1b933447 /sound/usb/Makefile | |
parent | 619764cc2ec9ce1283a8bbcd89a1376a7c68293b (diff) |
ALSA: usb-audio: Reorder snd_djm_devices[] entries
Olivia Mackintosh has posted to alsa-devel reporting that
there's a potential bug that could break mixer quirks for Pioneer
devices introduced by 6d27788160362a7ee6c0d317636fe4b1ddbe59a7
"ALSA: usb-audio: Add support for the Pioneer DJM 750MK2
Mixer/Soundcard".
This happened because the DJM 750 MK2 was added last to the Pioneer DJM
device table index and defined as 0x4 but was added to snd_djm_devices[]
just after the DJM 750 (MK1) entry instead of last, after the DJM 900
NXS2. This escaped review.
To prevent that from ever happening again, Takashi Iwai suggested to use
C99 array designators in snd_djm_devices[] instead of simply reordering
the entries.
Fixes: 6d2778816036 ("ALSA: usb-audio: Add support for the Pioneer DJM 750MK2")
Reported-by: Olivia Mackintosh <livvy@base.nu>
Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
Link: https://lore.kernel.org/r/Yau46FDzoql0SNnW@geday
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/Makefile')
0 files changed, 0 insertions, 0 deletions