test: dm: Restart USB before assuming it is stopped
authorSimon Glass <sjg@chromium.org>
Mon, 25 Apr 2022 05:31:02 +0000 (23:31 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2022 14:00:03 +0000 (10:00 -0400)
commit026e2136f834feb19acc95efd61e6613f37234de
tree2cb9f416006e3cb716f10f54220c8301bbb58a29
parent9bd2f62d12a53370822f0514ccc32e45209abc50
test: dm: Restart USB before assuming it is stopped

Update the blk test to stop USB first, in case another test has started
it.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/blk.c