net: qcom/emac: Reduce timeout for mdio read/write
authorHemanth Puranik <hpuranik@codeaurora.org>
Fri, 15 Dec 2017 14:35:58 +0000 (20:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 20:46:19 +0000 (15:46 -0500)
commit043ee1debd0b29c16c4c4b11a348ca667bfe9144
tree08de78013d694045ecaa5212b06a81a911caa3fd
parentb59e6979a86384e68b0ab6ffeab11f0034fba82d
net: qcom/emac: Reduce timeout for mdio read/write

Currently mdio read/write takes around ~115us as the timeout
between status check is set to 100us.
By reducing the timeout to 1us mdio read/write takes ~15us to
complete. This improves the link up event response.

Signed-off-by: Hemanth Puranik <hpuranik@codeaurora.org>
Acked-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-phy.c