Skip to content

Commit 764fa6e

Browse files
geoffreybennetttiwai
authored andcommitted
ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
Use usb_rcvctrlpipe() not usb_sndctrlpipe() for USB control input in the Scarlett Gen 2 mixer driver. This fixes the device hang during initialisation when used with the ehci-pci host driver. Fixes: 9e4d5c1 ("ALSA: usb-audio: Scarlett Gen 2 mixer interface") Signed-off-by: Geoffrey D. Bennett <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 51cb8e2 commit 764fa6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/usb/mixer_scarlett_gen2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ static int scarlett2_usb(
635635
/* send a second message to get the response */
636636

637637
err = snd_usb_ctl_msg(mixer->chip->dev,
638-
usb_sndctrlpipe(mixer->chip->dev, 0),
638+
usb_rcvctrlpipe(mixer->chip->dev, 0),
639639
SCARLETT2_USB_VENDOR_SPECIFIC_CMD_RESP,
640640
USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN,
641641
0,

0 commit comments

Comments
 (0)