commit | 79e498a9c7da0737829ff864aae44df434105676 | [log] [tgz] |
---|---|---|
author | Leonard Crestez <leonard.crestez@nxp.com> | Wed May 31 13:29:30 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 01 15:02:30 2017 -0400 |
tree | 63a902dfff27414dffa9c2b0130abb9f12ac31be | |
parent | e6f4292ae0a1e73fae26ced57de13a48f71ad1fa [diff] |
net: phy: micrel: Restore led_mode and clk_sel on resume These bits seem to be lost after a suspend/resume cycle so just set them again. Do this by splitting the handling of these bits into a function that is also called on resume. This patch fixes ethernet suspend/resume on imx6ul-14x14-evk boards. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>