mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
USB: gadget: AT91: fix typo in atmel_usba_udc driver
compile fix for bug introduced by 969affff54
)
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f52022b53b
commit
b488095186
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user