提交 b94fc851 编写于 作者: S Simon Glass 提交者: Tom Rini

usb: Correct return value in usb_stor_info()

This should return 0 on success, not 1. Fix it.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Acked-by: NMarek Vasut <marex@denx.de>
Reviewed-by: NTom Rini <trini@konsulko.com>
上级 5b15a259
...@@ -193,7 +193,7 @@ int usb_stor_info(void) ...@@ -193,7 +193,7 @@ int usb_stor_info(void)
return 1; return 1;
} }
return 1; return 0;
} }
static unsigned int usb_get_max_lun(struct us_data *us) static unsigned int usb_get_max_lun(struct us_data *us)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册