--- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c @@ -34,6 +34,9 @@ #include "usb.h" +#undef dev_vdbg +#define dev_vdbg dev_info + /* * Adds a new dynamic USBdevice ID to this driver, diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index bba3b55bad09..2147542d1112 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -36,6 +36,10 @@ #include "hub.h" #include "otg_whitelist.h" +#undef dev_dbg +#define dev_dbg dev_info + + #define USB_VENDOR_GENESYS_LOGIC 0x05e3 #define HUB_QUIRK_CHECK_PORT_AUTOSUSPEND 0x01 @@ -1016,6 +1020,8 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type) bool need_debounce_delay = false; unsigned delay; + dev_info(hub->intfdev, "%s type %d\n", __func__, type); + /* Continue a partial initialization */ if (type == HUB_INIT2 || type == HUB_INIT3) { device_lock(&hdev->dev); @@ -1254,6 +1260,7 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type) init3: hub->quiescing = 0; + dev_info(hub->intfdev, "Submitting status URB\n"); status = usb_submit_urb(hub->urb, GFP_NOIO); if (status < 0) dev_err(hub->intfdev, "activate --> %d\n", status);