[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180510.172339.458302745153151907.davem@davemloft.net>
Date: Thu, 10 May 2018 17:23:39 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nsekhar@...com
Cc: grygorii.strashko@...com, linux-omap@...r.kernel.org,
netdev@...r.kernel.org, andrew@...n.ch
Subject: Re: [PATCH v3 next-next] drivers: net: davinci_mdio: prevent
spurious timeout
From: Sekhar Nori <nsekhar@...com>
Date: Wed, 9 May 2018 21:15:15 +0530
> A well timed kernel preemption in the time_after() loop
> in wait_for_idle() can result in a spurious timeout
> error to be returned.
>
> Fix it by using readl_poll_timeout() which takes care of
> this issue.
>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Sekhar Nori <nsekhar@...com>
Applied.
Powered by blists - more mailing lists