Simon Glass 61ccd886e2 dm: usb: Clean up USB after each test
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 back to zero.

Note: this is not a perfect solution: It a USB test fails it will exit
immediately and leave USB un-reset. The impact here is that it may cause
subsequence test failures in the same run.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-03-14 15:34:50 -06:00
..
2016-03-14 15:34:50 -06:00
2016-01-13 21:05:21 -05:00
2015-05-21 09:16:18 -04:00
2014-09-24 18:30:28 -04:00
2015-05-21 09:16:18 -04:00
2015-11-19 20:27:51 -07:00