summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorPavel Hofman <pavel.hofman@ivitera.com>2022-01-31 08:18:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-31 14:22:50 +0100
commit5432184107cd0013761bdfa6cb6079527ef87b95 (patch)
tree5fa71e929febd7083d956de29df445f4b05b029c /arch/nios2
parent459702eea6132888b5c5b64c0e9c626da4ec2493 (diff)
downloadlinux-stable-5432184107cd0013761bdfa6cb6079527ef87b95.tar.gz
linux-stable-5432184107cd0013761bdfa6cb6079527ef87b95.tar.bz2
linux-stable-5432184107cd0013761bdfa6cb6079527ef87b95.zip
usb: gadget: f_uac2: Define specific wTerminalType
Several users have reported that their Win10 does not enumerate UAC2 gadget with the existing wTerminalType set to UAC_INPUT_TERMINAL_UNDEFINED/UAC_INPUT_TERMINAL_UNDEFINED, e.g. https://github.com/raspberrypi/linux/issues/4587#issuecomment-926567213. While the constant is officially defined by the USB terminal types document, e.g. XMOS firmware for UAC2 (commonly used for Win10) defines no undefined output terminal type in its usbaudio20.h header. Therefore wTerminalType of EP-IN is set to UAC_INPUT_TERMINAL_MICROPHONE and wTerminalType of EP-OUT to UAC_OUTPUT_TERMINAL_SPEAKER for the UAC2 gadget. Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220131071813.7433-1-pavel.hofman@ivitera.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions