]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
authorIcenowy Zheng <uwu@icenowy.me>
Tue, 1 Oct 2024 08:34:07 +0000 (16:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:59 +0000 (15:11 +0200)
commit1c4da771257e27cf7e63acb1720b40d189a1d087
tree6b8585ed16f40b04b3f78b3479cae835fa3a04a2
parente31942147bf5c7fe532f4703e6229c3ffd075dfe
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip

commit a6555cb1cb69db479d0760e392c175ba32426842 upstream.

JieLi tends to use SCSI via USB Mass Storage to implement their own
proprietary commands instead of implementing another USB interface.
Enumerating it as a generic mass storage device will lead to a Hardware
Error sense key get reported.

Ignore this bogus device to prevent appearing a unusable sdX device
file.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Cc: stable <stable@kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20241001083407.8336-1-uwu@icenowy.me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/unusual_devs.h