commit | c72a0bc0aa19f49160330a65ab77184b5b7d131b | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Jan 02 15:33:34 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 02 16:38:09 2020 -0800 |
tree | 9e7dd3df6f4ef20bd171fa896deb0489af34d9c0 | |
parent | 71130f29979c7c7956b040673e6b9d5643003176 [diff] |
net: freescale: fec: Fix ethtool -d runtime PM In order to dump the FECs registers the clocks have to be ticking, otherwise a data abort occurs. Add calls to runtime PM so they are enabled and later disabled. Fixes: e8fcfcd5684a ("net: fec: optimize the clock management to save power") Reported-by: Chris Healy <Chris.Healy@zii.aero> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>