Re: [PATCH v3] usb: musb: fix tx fifo flush handling

2015-11-06 Thread Felipe Balbi
Hi, Bin Liu writes: > Hi, > > On 11/06/2015 11:11 AM, Felipe Balbi wrote: >> >> Hi, >> >> Bin Liu writes: >>> Here are a few changes in musb_h_tx_flush_fifo(). >>> >>> - It has been observed that sometimes (if not always) musb is unable >>>to flush tx fifo during urb dequeue when disconnect

Re: [PATCH v3] usb: musb: fix tx fifo flush handling

2015-11-06 Thread Bin Liu
On 11/06/2015 11:29 AM, Bin Liu wrote: Hi, On 11/06/2015 11:11 AM, Felipe Balbi wrote: Hi, Bin Liu writes: Here are a few changes in musb_h_tx_flush_fifo(). - It has been observed that sometimes (if not always) musb is unable to flush tx fifo during urb dequeue when disconnect a devic

Re: [PATCH v3] usb: musb: fix tx fifo flush handling

2015-11-06 Thread Bin Liu
Hi, On 11/06/2015 11:11 AM, Felipe Balbi wrote: Hi, Bin Liu writes: Here are a few changes in musb_h_tx_flush_fifo(). - It has been observed that sometimes (if not always) musb is unable to flush tx fifo during urb dequeue when disconnect a device. But it seems to be harmless, since t

Re: [PATCH v3] usb: musb: fix tx fifo flush handling

2015-11-06 Thread Felipe Balbi
Hi, Bin Liu writes: > Here are a few changes in musb_h_tx_flush_fifo(). > > - It has been observed that sometimes (if not always) musb is unable > to flush tx fifo during urb dequeue when disconnect a device. But > it seems to be harmless, since the tx fifo flush is done again in > musb_ep

[PATCH v3] usb: musb: fix tx fifo flush handling

2015-11-06 Thread Bin Liu
Here are a few changes in musb_h_tx_flush_fifo(). - It has been observed that sometimes (if not always) musb is unable to flush tx fifo during urb dequeue when disconnect a device. But it seems to be harmless, since the tx fifo flush is done again in musb_ep_program() when re-use the hw_ep.