Re: [U-Boot] [PATCH v2 29/32] dm: usb: Clean up USB after each test

2016-03-12 Thread Simon Glass
On 29 February 2016 at 15:26, Simon Glass wrote: > The USB subsystem has a few counters that need to be reset since they are > stored in static variables rather than driver-model data. An example is > usb_max_devs. Ultimately we should move this data into the USB uclass. > > For now, make sure tha

[U-Boot] [PATCH v2 29/32] dm: usb: Clean up USB after each test

2016-02-29 Thread Simon Glass
The USB subsystem has a few counters that need to be reset since they are stored in static variables rather than driver-model data. An example is usb_max_devs. Ultimately we should move this data into the USB uclass. For now, make sure that USB is reset after each test, so that the counters go bac