[PATCH] USB: sl811-hcd minor fixes
authorDavid Brownell <david-b@pacbell.net>
Thu, 22 Sep 2005 07:49:07 +0000 (00:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 22 Sep 2005 14:58:25 +0000 (07:58 -0700)
commit4b2e790a4d73d729d936cc42f3b08af34f8ea5c6
treed052c4c7d260b0eeb3e83376f7f4eb952e1cfd60
parent2ba08e825e5a666f540bff15e9977725675e8de6
[PATCH] USB: sl811-hcd minor fixes

Three minor sl811-hcd fixes:

 - Elminate memory leak on one (rare) disable/shutdown path.

 - For periodic transfers that don't need to be scheduled, update
   urb->start_frame to represent the transfer phase correctly.

 - Report the (single) port as removable, by default.

Since no drivers yet use start_frame or that part of the hub descriptor,
only that leak is likely to ever matter.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
 drivers/usb/host/sl811-hcd.c |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
drivers/usb/host/sl811-hcd.c