usb: class: cdc-acm: fix compilation errors
Varun Wadekar [Wed, 18 Apr 2012 06:28:15 +0000 (11:28 +0530)]
Change-Id: I6aa9a94f84a6a5b40caff5559aee9b074cbfe593
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

drivers/usb/class/cdc-acm.c

index e624945..e95114d 100644 (file)
@@ -576,7 +576,7 @@ static int acm_port_activate(struct tty_port *port, struct tty_struct *tty)
        acm->control->needs_remote_wakeup = 0;
 
        if (acm_submit_read_urbs(acm, GFP_KERNEL))
-               goto bail_out;
+               goto error_submit_urb;
 
        acm->ctrlurb->dev = acm->dev;
        if (usb_submit_urb(acm->ctrlurb, GFP_KERNEL)) {