]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: Restore led_mode and clk_sel on resume
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 31 May 2017 10:29:30 +0000 (13:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 19:02:30 +0000 (15:02 -0400)
commit5616341192ff30cac255ef26e22c4ec0c3ec9259
tree63a902dfff27414dffa9c2b0130abb9f12ac31be
parent094ed7f89ec7af43a7c54819627e1376b7a687d3
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>
drivers/net/phy/micrel.c