diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-03-07 00:00:28 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 08:11:18 +0100 |
commit | 303f85ddbd08e5fa6ba5507780cfebbdce1053d9 (patch) | |
tree | c620ef7eeff46afbf234b7ecf20c8ee065c1e743 /drivers/usb/core/usb.c | |
parent | 02b3baf31ed58debe5a4001aa0e8eca106fa1cf1 (diff) | |
download | barebox-303f85ddbd08e5fa6ba5507780cfebbdce1053d9.tar.gz barebox-303f85ddbd08e5fa6ba5507780cfebbdce1053d9.tar.xz |
usb: storage: Introduce usb_stor_transport()
Move retry logic found in all of the low-level usb_stor_* functions
into a standalone subroutine and convert the rest of the code to use
it.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/core/usb.c')
0 files changed, 0 insertions, 0 deletions