octeontx2-af: Improve register polling loop
Instead of looping on a integer timeout, use time_before(jiffies), so that maximum poll time is capped. Signed-off-by:Sunil Goutham <sgoutham@marvell.com> Suggested-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
53e50a6e
Please register or sign in to comment