usb: Recognize SDX55

The SDX55 shows up with bInterfaceProtocol of 17, so allow this to get
past the USB filtering routine.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Bjorn Andersson
2021-04-15 12:00:44 -05:00
parent 760b3dffb0
commit bead963d33

5
qdl.c
View File

@@ -212,9 +212,10 @@ static int parse_usb_desc(int fd, struct qdl_device *qdl, int *intf)
if (ifc->bInterfaceSubClass != 0xff)
continue;
/* bInterfaceProtocol of 0xff and 0x10 has been seen */
/* bInterfaceProtocol of 0xff, 0x10 and 0x11 has been seen */
if (ifc->bInterfaceProtocol != 0xff &&
ifc->bInterfaceProtocol != 16)
ifc->bInterfaceProtocol != 16 &&
ifc->bInterfaceProtocol != 17)
continue;
qdl->fd = fd;