mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
usb: Correct return value in usb_stor_info()
This should return 0 on success, not 1. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5b15a2596f
commit
b94fc8518e
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ int usb_stor_info(void)
|
|||
return 1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int usb_get_max_lun(struct us_data *us)
|
||||
|
|
Loading…
Reference in a new issue