[PATCH v2 0/2] usb: cdns3: fixes for 5.4-rc

From: Roger Quadros
Date: Wed Oct 16 2019 - 06:05:10 EST


Hi,

Here are 2 fixes we found while testing the cdns3 driver
on our platform.

The first one fixes a corner case where super-speed in host mode
doesn't work if device was plugged before the cdns3 driver probes.

The second one fixes the case when gadget driver is
limited to full-speed.

cheers,
-roger

Changelog:
v2
- treat USB_DR_MODE_UNKNOWN as error case

Roger Quadros (2):
usb: cdns3: fix cdns3_core_init_role()
usb: cdns3: gadget: Fix full-speed mode

drivers/usb/cdns3/core.c | 22 +++++++++++++++++++++-
drivers/usb/cdns3/gadget.c | 1 +
2 files changed, 22 insertions(+), 1 deletion(-)

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki