Patch "ALSA: usb-audio: Fix Pioneer DJM devices URB_CONTROL request direction to set samplerate" has been added to the 5.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ALSA: usb-audio: Fix Pioneer DJM devices URB_CONTROL request direction to set samplerate

to the 5.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     alsa-usb-audio-fix-pioneer-djm-devices-urb_control-r.patch
and it can be found in the queue-5.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit c205ae742ab78922a7bde40f5c2e584c53b95b5e
Author: Nicolas MURE <nicolas.mure2019@xxxxxxxxx>
Date:   Mon Mar 1 15:29:27 2021 +0100

    ALSA: usb-audio: Fix Pioneer DJM devices URB_CONTROL request direction to set samplerate
    
    [ Upstream commit 2c9119001dcb1dc7027257c5d8960d30f5ba58be ]
    
    This commit only contains the fix about the `URB_CONTROL` request
    direction to set the samplerate of Pioneer DJM devices (`URB_CONTROL out`).
    
    Fixes: 3b85f5fc75d5 ("ALSA: usb-audio: Add DJM450 to Pioneer format quirk")
    Signed-off-by: Nicolas MURE <nicolas.mure2019@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20210301142927.14552-1-nicolas.mure2019@xxxxxxxxx
    Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 9ba4682ebc48..737b2729c0d3 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1482,7 +1482,7 @@ static int pioneer_djm_set_format_quirk(struct snd_usb_substream *subs,
 	usb_set_interface(subs->dev, 0, 1);
 	// we should derive windex from fmt-sync_ep but it's not set
 	snd_usb_ctl_msg(subs->stream->chip->dev,
-		usb_rcvctrlpipe(subs->stream->chip->dev, 0),
+		usb_sndctrlpipe(subs->stream->chip->dev, 0),
 		0x01, 0x22, 0x0100, windex, &sr, 0x0003);
 	return 0;
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux