summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-29 11:05:25 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-02 11:46:30 +0100
commit262eef7c6a8132c29649e340940eb19e0e86eb65 (patch)
treecc24734d3a8d67dba5dc0b32ca4db0baaa0f4144 /drivers/usb/storage/usb.c
parent5dc01bc9421afa5ec52dcd7cb81f0c28ce02fdb5 (diff)
downloadbarebox-262eef7c6a8132c29649e340940eb19e0e86eb65.tar.gz
usb: abolish wait_ms() function
This function is only used in drivers/usb/*. It is equivalent to mdelay(). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r--drivers/usb/storage/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index 5149761..9d1ffa3 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -101,7 +101,7 @@ static int usb_stor_test_unit_ready(ccb *srb, struct us_data *us)
if (result == USB_STOR_TRANSPORT_GOOD)
return 0;
usb_stor_request_sense(srb, us);
- wait_ms(100);
+ mdelay(100);
} while (retries--);
return -1;