diff mbox series

ALSA: usb-audio: Add Pioneer DJ DJM-900NXS2 support

Message ID a368345f-7474-4ee9-b02e-82789a4a981b@d-systems.ee
State New
Headers show
Series ALSA: usb-audio: Add Pioneer DJ DJM-900NXS2 support | expand

Commit Message

Dmitry Panchenko | d-Systems Feb. 19, 2025, 9:57 p.m. UTC
Hello,

Pioneer DJ DJM-900NXS2 is a widely used DJ mixer with 2 audio USB 
interfaces. Both have a MIDI controller, 10 playback and 12 capture 
channels. I've submitted Pioneer DJM-900NXS2 support patches back in 
2020, but someone has removed set_format_quirk function for DJM-900NXS2 
model. The playback and capture do not work, quirks.c needs to be 
patched. The patch is attached, please add.

Signed-off-by: Dmitry Panchenko <dmitry@d-systems.ee>
diff mbox series

Patch

*** linux-5.15.50/sound/usb/quirks.c	2022-06-25 16:18:40.000000000 +0300
--- linux-5.15.50-patched/sound/usb/quirks.c	2022-11-02 22:23:05.579906959 +0200
*************** void snd_usb_set_format_quirk(struct snd
*** 1483,1484 ****
--- 1483,1487 ----
  		break;
+ 	case USB_ID(0x2b73, 0x000a): /* Pioneer DJM-900NXS2 */
+ 		pioneer_djm_set_format_quirk(subs, 0x0082);
+ 		break;
  	case USB_ID(0x2b73, 0x0013): /* Pioneer DJM-450 */