dm: usb: sandbox: Reset emulation devices in usb stop()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:38 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:26 +0000 (11:11 -0600)
commit095fdef081c77fc79c719031e28b2925523873c9
tree6ede7b8c96a750f35a9b8e443787986cf8ee8e34
parent019808f97c1d039c41a960e477554b956c3ae238
dm: usb: sandbox: Reset emulation devices in usb stop()

These devices must have their addresses removed ready for the next USB
bus enumeration. Add this logic to usb_stop().

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/usb-uclass.c