[PATCH 2/5] phy: exynos5-usbdrd: convert udelay() to fsleep()
Peter Griffin
peter.griffin at linaro.org
Wed Jun 12 01:06:19 PDT 2024
Hi André,
On Tue, 7 May 2024 at 15:14, André Draszik <andre.draszik at linaro.org> wrote:
>
> The timers-howto recommends using usleep_range() and friends anytime
> waiting for >= ~10us is required. Doing so can help the timer subsystem
> a lot to coalesce wakeups.
>
> Additionally, fsleep() exists as a convenient wrapper so we do not have
> to think about which exact sleeping function is required in which case.
>
> Convert all udelay() calls in this driver to use fsleep() to follow the
> recommendataion.
Nit: typo in commit message recommendataion -> recommendation
>
> Signed-off-by: André Draszik <andre.draszik at linaro.org>
> ---
Aside from that:
Reviewed-by: Peter Griffin <peter.griffin at linaro.org>
[..]
More information about the linux-phy
mailing list