mirror-linux/drivers/usb/class
Wentao Guan 5eb070769e USB: cdc-acm: Fix bit overlap and move quirk definitions to header
The VENDOR_CLASS_DATA_IFACE and ALWAYS_POLL_CTRL quirk flags added in
commit f58752ebcb ("USB: cdc-acm: Add quirks for Yoga Book 9 14IAH10
INGENIC touchscreen") were placed inside the acm_ctrl_msg() function
rather than in the header with the other quirk flags.  Then, their
values (BIT(9) and BIT(10)) collided with NO_UNION_12 which is already
BIT(9).

Move the definitions to drivers/usb/class/cdc-acm.h where they belong
and shift them to BIT(10) and BIT(11) to avoid the overlap.

Fixes: f58752ebcb ("USB: cdc-acm: Add quirks for Yoga Book 9 14IAH10 INGENIC touchscreen")
Cc: stable <stable@kernel.org>
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Link: https://patch.msgid.link/20260522091357.1301196-1-guanwentao@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-22 11:27:34 +02:00
..
Kconfig
Makefile
cdc-acm.c USB: cdc-acm: Fix bit overlap and move quirk definitions to header 2026-05-22 11:27:34 +02:00
cdc-acm.h USB: cdc-acm: Fix bit overlap and move quirk definitions to header 2026-05-22 11:27:34 +02:00
cdc-wdm.c usb: class: cdc-wdm: fix reordering issue in read code path 2026-03-11 16:18:31 +01:00
usblp.c usb: usblp: fix uninitialized heap leak via LPGETSTATUS ioctl 2026-04-27 10:00:18 -06:00
usbtmc.c usb: usbtmc: reject interrupt endpoints with small wMaxPacketSize 2026-05-22 10:36:13 +02:00