diff options
Diffstat (limited to 'drivers/usb/gadget/cdc2.c')
-rw-r--r-- | drivers/usb/gadget/cdc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/cdc2.c b/drivers/usb/gadget/cdc2.c index 289c75277135..d490d0289507 100644 --- a/drivers/usb/gadget/cdc2.c +++ b/drivers/usb/gadget/cdc2.c | |||
@@ -124,7 +124,7 @@ static int __init cdc_do_config(struct usb_configuration *c) | |||
124 | return status; | 124 | return status; |
125 | 125 | ||
126 | status = acm_bind_config(c, 0); | 126 | status = acm_bind_config(c, 0); |
127 | if (status == 0) | 127 | if (status < 0) |
128 | return status; | 128 | return status; |
129 | 129 | ||
130 | return 0; | 130 | return 0; |