diff options
author | Maxim Uvarov <muvarov@gmail.com> | 2017-08-10 10:47:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-11 14:23:59 -0700 |
commit | 2e1c80847b9983a8c93a678f6de2dc3c42f19661 (patch) | |
tree | c48837e059647422f9c99b320abda09d5b9f376e /drivers/ras/ras.c | |
parent | 3a4487b88f9a4deaded65fed60135b06298b7990 (diff) | |
download | linux-2e1c80847b9983a8c93a678f6de2dc3c42f19661.tar.bz2 |
drivers: net: davinci_mdio: remove busy loop on wait user access
Polling 14 mdio devices on single mdio bus eats 30% of 1Ghz cpu time
due to busy loop in wait(). Add small delay to relax cpu.
Signed-off-by: Max Uvarov <muvarov@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ras/ras.c')
0 files changed, 0 insertions, 0 deletions