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
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>
  • Loading branch information
Josh Wu authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent f52022b commit b488095
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 @@ -2017,7 +2017,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 b488095

Please sign in to comment.