]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
musb_hdrc: Minor root hub cleanups
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 23 Mar 2007 13:57:34 +0000 (09:57 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Mar 2007 13:57:34 +0000 (09:57 -0400)
commit0855214a004e70e994c285b7435d01c31cec1b3b
tree4239fcdb517ee2d8aee8e2e07a4f21a5046c64ed
parentea4c46f2bab83dea26ce343763fc65270ca537a6
musb_hdrc: Minor root hub cleanups

Minor root hub cleanups:

 - Use unaligned accessors to return status, in case usbcore passes
   a buffer that's not aligned.

 - Fix some glitching on restart (e.g. when switching gadget drivers
   while leaving the OTG-mode musb_hdrc driver loaded).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/musb_host.c
drivers/usb/musb/virthub.c