diff options
Diffstat (limited to 'drivers/usb/host/whci/hcd.c')
-rw-r--r-- | drivers/usb/host/whci/hcd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/whci/hcd.c b/drivers/usb/host/whci/hcd.c index f599f89d3be1..1569afd6245b 100644 --- a/drivers/usb/host/whci/hcd.c +++ b/drivers/usb/host/whci/hcd.c | |||
@@ -273,6 +273,8 @@ static int whc_probe(struct umc_dev *umc) | |||
273 | goto error_wusbhc_b_create; | 273 | goto error_wusbhc_b_create; |
274 | } | 274 | } |
275 | 275 | ||
276 | whc_dbg_init(whc); | ||
277 | |||
276 | return 0; | 278 | return 0; |
277 | 279 | ||
278 | error_wusbhc_b_create: | 280 | error_wusbhc_b_create: |
@@ -296,6 +298,7 @@ static void whc_remove(struct umc_dev *umc) | |||
296 | struct whc *whc = wusbhc_to_whc(wusbhc); | 298 | struct whc *whc = wusbhc_to_whc(wusbhc); |
297 | 299 | ||
298 | if (usb_hcd) { | 300 | if (usb_hcd) { |
301 | whc_dbg_clean_up(whc); | ||
299 | wusbhc_b_destroy(wusbhc); | 302 | wusbhc_b_destroy(wusbhc); |
300 | usb_remove_hcd(usb_hcd); | 303 | usb_remove_hcd(usb_hcd); |
301 | wusbhc_destroy(wusbhc); | 304 | wusbhc_destroy(wusbhc); |