]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
authorGeoffrey D. Bennett <g@b4.vu>
Fri, 21 May 2021 08:20:12 +0000 (17:50 +0930)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 18 Jun 2021 13:02:40 +0000 (15:02 +0200)
commit50416c5450852c0bdb80511ed433c00b2ed19ecf
tree524c93b8cfc2d3d8bce52f1b025142042cd89704
parentdfc5d96e0926cb961353fb8b742a8c4d5524b19a
ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci

BugLink: https://bugs.launchpad.net/bugs/1931166
commit 764fa6e686e0107c0357a988d193de04cf047583 upstream.

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: 9e4d5c1be21f ("ALSA: usb-audio: Scarlett Gen 2 mixer interface")
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/66a3d05dac325d5b53e4930578e143cef1f50dbe.1621584566.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/usb/mixer_scarlett_gen2.c