commit | b94fc8518eb60102fbc0fa46a84a43e02e0c0a6e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 16 07:45:44 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 22 12:16:28 2016 -0400 |
tree | 87847cec547ef8c2d6c941a6820396fd2dd6c162 | |
parent | 5b15a2596f7852177c7f451349b353e6e52742a2 [diff] [blame] |
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>
diff --git a/common/usb_storage.c b/common/usb_storage.c index 83c8607..9285c95 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c
@@ -193,7 +193,7 @@ return 1; } - return 1; + return 0; } static unsigned int usb_get_max_lun(struct us_data *us)