]> git.baikalelectronics.ru Git - kernel.git/commit
USB: CI13xxx: Use usb_put_hcd() on failure to drop HCD
authorMarek Vasut <marex@denx.de>
Tue, 15 May 2012 04:10:21 +0000 (06:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2012 15:43:40 +0000 (08:43 -0700)
commita73e039af26db763af9e1f38acd9131b1d783d8b
tree10e5e6428bb45d6658865d073eecedd9b14d9a4a
parent965d5b4d4e7a34a38ea794535421e43f00a81eb4
USB: CI13xxx: Use usb_put_hcd() on failure to drop HCD

Use usb_put_hcd() call instead of usb_remove_hcd() as that's the appropriate
call to drop hcd which failed registration.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/host.c