commit | 6ca3ee2f7d3a4b6063c14f5ebd1c6076035310ef | [log] [tgz] |
---|---|---|
author | Sunil Goutham <sgoutham@marvell.com> | Tue Oct 16 16:57:05 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 17 21:33:42 2018 -0700 |
tree | 9a64837f6433f333f2915caf2e4717f3d25a1fb9 | |
parent | 53e50a6ec24d83e9d79e6a95a33b7adcd610f772 [diff] |
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>