Skip to content
Commit 0af2a408 authored by Andrew Lunn's avatar Andrew Lunn Committed by Paul Gortmaker
Browse files

net: freescale: fec: Fix ethtool -d runtime PM



commit c72a0bc0 upstream.

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: e8fcfcd5 ("net: fec: optimize the clock management to save power")
Reported-by: default avatarChris Healy <Chris.Healy@zii.aero>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent e0e5dd70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment