RE: [PATCH] usb: renesas_usbhs: fix usbhsf_fifo_clear() behavior

2017-09-27 Thread Yoshihiro Shimoda
Hi Greg, > -Original Message- > From: Greg KH > Sent: Wednesday, September 27, 2017 5:37 PM > > On Wed, Sep 27, 2017 at 05:04:05PM +0900, Yoshihiro Shimoda wrote: > > This patch fixes two issues: > > - the usbhsf_fifo_clear() is possible to cause 10 msec delay if > >the pipe is RX

Re: [PATCH] usb: renesas_usbhs: fix usbhsf_fifo_clear() behavior

2017-09-27 Thread Greg KH
On Wed, Sep 27, 2017 at 05:04:05PM +0900, Yoshihiro Shimoda wrote: > This patch fixes two issues: > - the usbhsf_fifo_clear() is possible to cause 10 msec delay if >the pipe is RX direction and empty because the FRDY bit will never >be set to 1 in such case. > - sets the BCLR of

[PATCH] usb: renesas_usbhs: fix usbhsf_fifo_clear() behavior

2017-09-27 Thread Yoshihiro Shimoda
This patch fixes two issues: - the usbhsf_fifo_clear() is possible to cause 10 msec delay if the pipe is RX direction and empty because the FRDY bit will never be set to 1 in such case. - sets the BCLR of {C,Dn}FIFOCTR to 1 even when it's non-DCP pipe and the FRDY bit sets to 0. Fixes: