Hi, On Fri, Aug 26, 2011 at 12:32:40PM +0200, Sebastian Andrzej Siewior wrote: > * Dan Carpenter | 2011-08-26 12:21:13 [+0300]: > > >Btw. This function returns -EBUSY on success. Was that really what > >you want? > > At that time yes. The idea was to enable the self-test mode of the core > and let it do transfers forth and back and see if it works. There is > also no off switch. I wasn't aware that this piece of code is going to > merged but now I think we need an off switch. yeah, this is rather useful to test the underlying HW. We had the same feature on MUSB and it helped check if EP0 handling and FIFO access was working fine. > Thanks for spotting this. indeed. -- balbi
Attachment:
signature.asc
Description: Digital signature