Re: usb: musb: tx fifo flush warning

2016-03-09 Thread Bin Liu
Hi, On Fri, Mar 04, 2016 at 11:51:19AM +0100, John Ogness wrote: > On 2016-03-04, John Ogness wrote: > > Using v4.5-rc6, I modified musb_h_tx_flush_fifo() to allow infinite > > looping and kept a log of the number of loops that were executed. For > > my test I am regularly seeing 3000-3200 loops

RE: usb: musb: tx fifo flush warning

2016-03-07 Thread David Laight
From: John Ogness > Sent: 04 March 2016 10:51 > On 2016-03-04, John Ogness wrote: > > Using v4.5-rc6, I modified musb_h_tx_flush_fifo() to allow infinite > > looping and kept a log of the number of loops that were executed. For > > my test I am regularly seeing 3000-3200 loops (with a max so far o

Re: usb: musb: tx fifo flush warning

2016-03-04 Thread John Ogness
On 2016-03-04, John Ogness wrote: > Using v4.5-rc6, I modified musb_h_tx_flush_fifo() to allow infinite > looping and kept a log of the number of loops that were executed. For > my test I am regularly seeing 3000-3200 loops (with a max so far of > 3289). Since there used to be an msleep() in the l

Re: usb: musb: tx fifo flush warning

2016-03-04 Thread John Ogness
On 2016-03-03, John Ogness wrote: >>> Using next-20160302 I can very reliably hit this warning on an >>> AM335x BeagleBone by playing a short audio file over USB-Audio: >>> >>> $ aplay -Dplughw:1,0 -r 44100 -c 2 -f S16_LE >>> /usr/share/sounds/alsa/Front_Center.wav >>> >>> $ aplay -l >>> L

Re: usb: musb: tx fifo flush warning

2016-03-03 Thread John Ogness
On 2016-03-03, Bin Liu wrote: >> Using next-20160302 I can very reliably hit this warning on an AM335x >> BeagleBone by playing a short audio file over USB-Audio: >> >> $ aplay -Dplughw:1,0 -r 44100 -c 2 -f S16_LE >> /usr/share/sounds/alsa/Front_Center.wav >> >> $ aplay -l >> List of PLAYB

Re: usb: musb: tx fifo flush warning

2016-03-03 Thread Bin Liu
Hi John, On Thu, Mar 03, 2016 at 03:38:10PM +0100, John Ogness wrote: > Hi Bin, > > Using next-20160302 I can very reliably hit this warning on an AM335x > BeagleBone by playing a short audio file over USB-Audio: > > $ aplay -Dplughw:1,0 -r 44100 -c 2 -f S16_LE > /usr/share/sounds/alsa/Front_Ce