diff options
Diffstat (limited to 'drivers/usb/gadget/s3c2410_udc.c')
-rw-r--r-- | drivers/usb/gadget/s3c2410_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/usb/gadget/s3c2410_udc.c index fac4c650d4bb..3f87cb9344bb 100644 --- a/drivers/usb/gadget/s3c2410_udc.c +++ b/drivers/usb/gadget/s3c2410_udc.c | |||
@@ -1683,9 +1683,9 @@ static int s3c2410_udc_start(struct usb_gadget_driver *driver, | |||
1683 | if (udc->driver) | 1683 | if (udc->driver) |
1684 | return -EBUSY; | 1684 | return -EBUSY; |
1685 | 1685 | ||
1686 | if (!bind || !driver->setup || driver->speed < USB_SPEED_FULL) { | 1686 | if (!bind || !driver->setup || driver->max_speed < USB_SPEED_FULL) { |
1687 | printk(KERN_ERR "Invalid driver: bind %p setup %p speed %d\n", | 1687 | printk(KERN_ERR "Invalid driver: bind %p setup %p speed %d\n", |
1688 | bind, driver->setup, driver->speed); | 1688 | bind, driver->setup, driver->max_speed); |
1689 | return -EINVAL; | 1689 | return -EINVAL; |
1690 | } | 1690 | } |
1691 | #if defined(MODULE) | 1691 | #if defined(MODULE) |