Skip to content

Commit

Permalink
USB: gadget: AT91: fix typo in atmel_usba_udc driver
Browse files Browse the repository at this point in the history
commit b488095 upstream.

compile fix for bug introduced by 969afff)

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
  • Loading branch information
JoshWu authored and Andi Kleen committed Dec 14, 2010
1 parent 21f71d8 commit 3e22d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/atmel_usba_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ static int __init usba_udc_probe(struct platform_device *pdev)
}
} else {
/* gpio_request fail so use -EINVAL for gpio_is_valid */
ubc->vbus_pin = -EINVAL;
udc->vbus_pin = -EINVAL;
}
}

Expand Down

0 comments on commit 3e22d87

Please sign in to comment.