diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-21 16:37:42 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-21 17:19:22 +0300 |
commit | 51cb8e206afd463e66f16869e5ddc95bef107142 (patch) | |
tree | 99a46a052b6b6998f2962cfe59b9ea5144655132 /sound/pci | |
parent | 05ca447630334c323c9e2b788b61133ab75d60d3 (diff) | |
download | linux-51cb8e206afd463e66f16869e5ddc95bef107142.tar.xz |
ALSA: usb-audio: fix control-request direction
The direction of the pipe argument must match the request-type direction
bit or control requests may fail depending on the host-controller-driver
implementation.
Fix the UAC2_CS_CUR request which erroneously used usb_sndctrlpipe().
Fixes: 93db51d06b32 ("ALSA: usb-audio: Check valid altsetting at parsing rates for UAC2/3")
Cc: stable@vger.kernel.org # 5.10
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210521133742.18098-1-johan@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions