usb-musb: Add reset function
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Wed, 31 Aug 2011 20:49:41 +0000 (21:49 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 07:58:27 +0000 (09:58 +0200)
commitdee313bba879d9fb608c3fd41972ffc9c93572fe
tree6352cb66925129abad5632b2b608f1ba604ec918
parent57de31bceceefb2fe04b878f16b91a87a0cf7135
usb-musb: Add reset function

Add a separate reset function musb_reset() to the usb-musb interface,
so that users who implement a reset function can also reset usb-musb.
Use this in tusb6010.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
[Peter Maydell: More fixes and cleanups for upstream submission]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/tusb6010.c
hw/usb-musb.c
hw/usb.h