Commit 9a366355 authored by Dmitry Panchenko's avatar Dmitry Panchenko Committed by Wentao Guan
Browse files

ALSA: usb-audio: Re-add sample rate quirk for Pioneer DJM-900NXS2

stable inclusion
from stable-v6.6.81
commit e9839cf12e9f4731339c8f79e385e083c8c47fb7
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBYZED

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e9839cf12e9f4731339c8f79e385e083c8c47fb7



--------------------------------

commit 9af3b4f2d879da01192d6168e6c651e7fb5b652d upstream.

Re-add the sample-rate quirk for the Pioneer DJM-900NXS2. This
device does not work without setting sample-rate.

Signed-off-by: default avatarDmitry Panchenko <dmitry@d-systems.ee>
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20250220161540.3624660-1-dmitry@d-systems.ee


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e9839cf12e9f4731339c8f79e385e083c8c47fb7)
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
parent dd5f313a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1775,6 +1775,7 @@ void snd_usb_set_format_quirk(struct snd_usb_substream *subs,
	case USB_ID(0x534d, 0x2109): /* MacroSilicon MS2109 */
		subs->stream_offset_adj = 2;
		break;
	case USB_ID(0x2b73, 0x000a): /* Pioneer DJM-900NXS2 */
	case USB_ID(0x2b73, 0x0013): /* Pioneer DJM-450 */
		pioneer_djm_set_format_quirk(subs, 0x0082);
		break;