Karsten Wiese 508db8c954 USB: EHCI: Fix isochronous URB leak
ehci-hcd uses usb_get_urb() and usb_put_urb() in an unbalanced way causing
isochronous URB's kref.counts incrementing once per usb_submit_urb() call.
The culprit is *usb being set to NULL when usb_put_urb() is called after URB
is given back.
Due to other fixes there is no need for ehci-hcd to deal with usb_get_urb()
nor usb_put_urb() anymore, so patch removes their usages in ehci-hcd.
Patch also makes ehci_to_hcd(ehci)->self.bandwidth_allocated adjust, if a
stream finishes.

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: David Brownell <david-b@pacbell.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-17 14:01:29 -07:00
..
2009-01-08 16:29:41 +00:00
2009-02-18 17:41:38 -08:00
2009-03-10 15:55:10 -07:00
2009-03-13 01:16:58 -04:00
2009-02-18 15:37:56 -08:00
2009-01-29 18:04:43 -08:00
2009-02-26 10:32:31 -08:00
2009-01-15 16:39:40 -08:00
2009-02-27 16:26:22 -08:00
2009-01-09 03:39:43 -05:00
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:56 -08:00
2009-03-17 14:01:29 -07:00
2009-03-16 07:55:37 -07:00