[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220321161223.2837-15-wsa+renesas@sang-engineering.com>
Date: Mon, 21 Mar 2022 17:12:22 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-kernel@...r.kernel.org
Cc: linux-renesas-soc@...r.kernel.org,
Heiner Kallweit <hkallweit1@...il.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>
Subject: [RFC PATCH 14/15] usb: chipidea: use new name 'usleep_autoyield' instead of 'fsleep'
The function was just renamed to be easier understandable. No functional
change.
Signed-off-by: Wolfram Sang <wsa+renesas@...g-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
Powered by blists - more mailing lists