]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: usb-audio: separate DJM-A9 cap lvl options
authorOlivia Mackintosh <livvy@base.nu>
Sun, 16 Mar 2025 15:33:23 +0000 (15:33 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Mar 2025 13:37:14 +0000 (14:37 +0100)
commit38e94cefbf45c1edc5b751ab90a3088f7c6fac1a
treeb82e27cfc577c80bfc7e2eb376372912aeed133c
parent5a0c72c1da3cbc0cd4940a95d1be2830104c6edf
ALSA: usb-audio: separate DJM-A9 cap lvl options

Mixer quicks for the Pioneer DJM-A9 mixer was added in 5289d00 with
additional capture level values added to the common DJM array of values.

This breaks the existing DJM mixers however as alsa-utils relies on
enumeration of the actual mixer options based on the value array which
results in error when storing state.

This commit just separates the A9 values into a separate array and
references them in the corresponding mixer control.

Fixes: 5289d0069639 ("ALSA: usb-audio: Add Pioneer DJ/AlphaTheta DJM-A9 Mixer")
Signed-off-by: Olivia Mackintosh <livvy@base.nu>
Link: https://patch.msgid.link/20250316153323.16381-1-livvy@base.nu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c