1From 7844378788f308f3540c5eb10956c84113005fcc Mon Sep 17 00:00:00 2001 2From: Rui Miguel Silva <rui.silva@linaro.org> 3Date: Fri, 4 Mar 2022 15:56:09 +0000 4Subject: [PATCH 12/38] arm: corstone1000: fix unrecognized filesystem type 5 6Some usb sticks are not recognized by usb, just add a 7delay before checking status. 8 9Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> 10Upstream-Status: Pending [Not submitted to upstream yet] 11--- 12 common/usb_storage.c | 3 +++ 13 1 file changed, 3 insertions(+) 14 15diff --git a/common/usb_storage.c b/common/usb_storage.c 16index ac64275773..1d2680c3cd 100644 17--- a/common/usb_storage.c 18+++ b/common/usb_storage.c 19@@ -785,6 +785,9 @@ static int usb_stor_BBB_transport(struct scsi_cmd *srb, struct us_data *us) 20 st: 21 retry = 0; 22 again: 23+ if (srb->cmd[0] == SCSI_TST_U_RDY) 24+ mdelay(100); 25+ 26 debug("STATUS phase\n"); 27 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE, 28 &actlen, USB_CNTL_TIMEOUT*5); 29-- 302.25.1 31 32