[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a5f25f4-e7ae-5ab2-6991-4bc6e972b9b7@gmail.com>
Date: Sun, 2 Aug 2020 13:19:13 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Bruno Thomsen <bruno.thomsen@...il.com>,
netdev <netdev@...r.kernel.org>
Cc: Andrew Lunn <andrew@...n.ch>, Fabio Estevam <festevam@...il.com>,
Russell King - ARM Linux <linux@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
Lars Alex Pedersen <laa@...strup.com>,
Bruno Thomsen <bth@...strup.com>
Subject: Re: [PATCH v2 4/4 net-next] net: mdio device: use flexible sleeping
in reset function
On 7/30/2020 12:57 PM, Bruno Thomsen wrote:
> MDIO device reset assert and deassert length was created by
> usleep_range() but that does not ensure optimal handling of
> all the different values from device tree properties.
> By switching to the new flexible sleeping helper function,
> fsleep(), the correct delay function is called depending on
> delay length, e.g. udelay(), usleep_range() or msleep().
>
> Signed-off-by: Bruno Thomsen <bruno.thomsen@...il.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists