diff --git a/drivers/usb/gadget/core.c b/drivers/usb/gadget/core.c index 67b6681a6cce225ffefc49bfa64d10e910915fb5..4f2ebab9e2ab9afefb5326756c9e6e8ea16416a3 100644 --- a/drivers/usb/gadget/core.c +++ b/drivers/usb/gadget/core.c @@ -671,9 +671,9 @@ void usbd_device_event_irq (struct usb_device_instance *device, usb_device_event usbdbg("event %d - not handled",event); break; } - /*usbdbg("%s event: %d oldstate: %d newstate: %d status: %d address: %d", + debug("%s event: %d oldstate: %d newstate: %d status: %d address: %d", device->name, event, state, - device->device_state, device->status, device->address); */ + device->device_state, device->status, device->address); /* tell the bus interface driver */ if( device->event ) {