summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2020-05-26 18:22:53 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-26 15:33:56 -0700
commit9513167e6c3343f4ec8e04eb89e9b130eb90e58a (patch)
tree3d306303db623fd29649706d6fa41e2178ecf914 /scripts/cleanpatch
parent90ce665c6a40dc1be771bf5f86e624c0acf3a76f (diff)
net: phy: mscc-miim: use more reasonable delays
The MSCC MIIM MDIO driver uses delays to read poll a status register. I made multiple tests on a Ocelot PCS120 platform which led me to reduce those delays. The delay in between which the polling function is allowed to sleep is reduced from 100us to 50us which in almost all cases is a good value to succeed at the first retry. The overall delay is also lowered as the prior value was really way to high, 10000us is large enough. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions