Messages in this thread Patch in this message | | | From | Wolfram Sang <> | Subject | [RFC PATCH 14/15] usb: chipidea: use new name 'usleep_autoyield' instead of 'fsleep' | Date | Mon, 21 Mar 2022 17:12:22 +0100 |
| |
The function was just renamed to be easier understandable. No functional change.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- RFC, please do not apply yet
drivers/usb/chipidea/ci_hdrc_tegra.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c b/drivers/usb/chipidea/ci_hdrc_tegra.c index a72a9474afea..767f13abfe91 100644 --- a/drivers/usb/chipidea/ci_hdrc_tegra.c +++ b/drivers/usb/chipidea/ci_hdrc_tegra.c @@ -189,13 +189,13 @@ static int tegra_usb_internal_port_reset(struct ehci_hcd *ehci, temp = ehci_readl(ehci, portsc_reg); temp |= PORT_RESET; ehci_writel(ehci, temp, portsc_reg); - fsleep(10000); + usleep_autoyield(10000); temp &= ~PORT_RESET; ehci_writel(ehci, temp, portsc_reg); - fsleep(1000); + usleep_autoyield(1000); tries = 100; do { - fsleep(1000); + usleep_autoyield(1000); /* * Up to this point, Port Enable bit is * expected to be set after 2 ms waiting. -- 2.34.1
| |