USB: ehci: add call of free_cached_itd_list() function in disable_periodic()
authorDmitri Epshtein <dima@marvell.com>
Mon, 14 Dec 2009 15:17:33 +0000 (17:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:13 +0000 (14:53 -0800)
commitd63c66d2d08f52487f3ef32f1c9b1231d848966b
treea4aa3889c5b655924b1c310e09c874b0231d7d49
parenta5f0efaba4c2b644e6248648f75b0a8a522359f6
USB: ehci: add call of free_cached_itd_list() function in disable_periodic()

Sometimes disable_periodic() stop scan_periodic before than free_cached_itd_list() was called.
In such case USB Host stacked during disconnect operation
Solution: add call of free_cached_itd_list() function in disable_periodic()

Signed-off-by: Dimitry Epshtein <dima@marvell.com>
Signed-off-by: Saeed Bishara <saeed@marvell.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-sched.c