Re: [PATCH] usb: cdc_acm: Add quirk for Elatec TWN3

From: Oliver Neukum
Date: Mon Oct 16 2017 - 07:30:09 EST


Am Mittwoch, den 11.10.2017, 11:10 +0300 schrieb Maksim Salau:
> Elatec TWN3 has the union descriptor on data interface. This results in
> failure to bind the device to the driver with the following log:
> Â usb 1-1.2: new full speed USB device using streamplug-ehci and address 4
> Â usb 1-1.2: New USB device found, idVendor=09d8, idProduct=0320
> Â usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> Â usb 1-1.2: Product: RFID Device (COM)
> Â usb 1-1.2: Manufacturer: OEM
> Â cdc_acm 1-1.2:1.0: Zero length descriptor references
> Â cdc_acm: probe of 1-1.2:1.0 failed with error -22
>
> Adding the NO_UNION_NORMAL quirk for the device fixes the issue.
>
> Signed-off-by: Maksim Salau <msalau@xxxxxxxxxxx>
Acked-by: Oliver Neukum <oneukum@xxxxxxxx>