usb: r8a66597-hcd: fix removed from an attached hub
commitb6bc58585c030713f82f11097929b7caada57a79
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Tue, 16 Mar 2010 03:29:35 +0000 (16 12:29 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:36 +0000 (1 15:58 -0700)
treec57fd1c675490e635269c7c34e4d4c3da6fee223
parentbf465bba93e5b97c98c6f587055cc514b73e18ea
usb: r8a66597-hcd: fix removed from an attached hub

commit d835933436ac0d1e8f5b35fe809fd4e767e55d6e upstream.

fix the problem that when a USB hub is attached to the r8a66597-hcd and
a device is removed from that hub, it's likely that a kernel panic follows.

Reported-by: Markus Pietrek <Markus.Pietrek@emtrion.de>
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597-hcd.c