summaryrefslogtreecommitdiffstats
path: root/fs/nls/nls_koi8-r.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2020-11-19 12:00:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-02 08:31:29 +0100
commitbab3f154b0e0565c49fbfcf988c68d239c8edcd7 (patch)
tree2e22bcf9992258bbee22c95c70f99d260440967e /fs/nls/nls_koi8-r.c
parentc795e16801aa97668f41a1354632903da5ba3c72 (diff)
downloadlinux-stable-bab3f154b0e0565c49fbfcf988c68d239c8edcd7.tar.gz
linux-stable-bab3f154b0e0565c49fbfcf988c68d239c8edcd7.tar.bz2
linux-stable-bab3f154b0e0565c49fbfcf988c68d239c8edcd7.zip
USB: core: Fix regression in Hercules audio card
commit 184eead057cc7e803558269babc1f2cfb9113ad1 upstream Commit 3e4f8e21c4f2 ("USB: core: fix check for duplicate endpoints") aimed to make the USB stack more reliable by detecting and skipping over endpoints that are duplicated between interfaces. This caused a regression for a Hercules audio card (reported as Bugzilla #208357), which contains such non-compliant duplications. Although the duplications are harmless, skipping the valid endpoints prevented the device from working. This patch fixes the regression by adding ENDPOINT_IGNORE quirks for the Hercules card, telling the kernel to ignore the invalid duplicate endpoints and thereby allowing the valid endpoints to be used as intended. Fixes: 3e4f8e21c4f2 ("USB: core: fix check for duplicate endpoints") CC: <stable@vger.kernel.org> Reported-by: Alexander Chalikiopoulos <bugzilla.kernel.org@mrtoasted.com> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20201119170040.GA576844@rowland.harvard.edu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [sudip: use usb_endpoint_blacklist and USB_QUIRK_ENDPOINT_BLACKLIST] Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nls/nls_koi8-r.c')
0 files changed, 0 insertions, 0 deletions