mbox series

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

Message ID 20191016100452.32613-1-rogerq@ti.com
Headers show
Series usb: cdns3: fixes for 5.4-rc | expand

Message

Roger Quadros Oct. 16, 2019, 10:04 a.m. UTC
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

Comments

Roger Quadros Oct. 16, 2019, 10:08 a.m. UTC | #1
Hi, Greg

I see that you've already picked up v1.
V2 is a very minor fix and this series can be ignored.

cheers,
-roger

On 16/10/2019 13:04, Roger Quadros wrote:
> 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
Greg Kroah-Hartman Oct. 16, 2019, 1:18 p.m. UTC | #2
On Wed, Oct 16, 2019 at 01:08:57PM +0300, Roger Quadros wrote:
> Hi, Greg

> 

> I see that you've already picked up v1.

> V2 is a very minor fix and this series can be ignored.


Can you send the difference as a stand-alone patch so that I can apply
it?

thanks,

greg k-h