]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ARM-imx6ul-14x14-evk-Fix-suspend-over-nfs-by-phy'
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 19:02:31 +0000 (15:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 19:02:31 +0000 (15:02 -0400)
commit007b3f0aec9b9bc195788b07dec62ed2064e1082
tree63a902dfff27414dffa9c2b0130abb9f12ac31be
parent2dca3cfe3ede12dde716e2fad9cae174fd673b7f
parentc1a7e17806777a3b89973e0e7922e578bb42a083
Merge branch 'ARM-imx6ul-14x14-evk-Fix-suspend-over-nfs-by-phy'

Leonard Crestez says:

====================
ARM: imx6ul-14x14-evk: Fix suspend over nfs by phy

Right now attempting doing suspend/resume while root is mounted over NFS
hangs on imx6ul-14x14-evk. This is happening because ksz8081 phy fixups are
lost on resume.

Fix this by using equivalent devicetree properties instead of a phy fixup
and handling those properties on resume in the micrel driver.

In theory it might now be possible to remove the phy fixup from mach-imx6ul
entirely but it is possible that this would break other imx6ul boards which
use the same phy. The solution would be to patch their dts but it's not
clear how to identify affected boards.

This code is shared with imx6ull-14x14-evk but 6ull suspend needs an
unrelated patch: https://lkml.org/lkml/2017/5/30/584

This is something of a corner case so there is no CC: stable.

Changes since v1: https://lkml.org/lkml/2017/5/30/672
 * Split a kszphy_config_reset function for stuff shared between
config_init and resume. Calling config_init directly could be an option but
on some HW variants it does extra stuff like parsing devicetree options.
That would not be appropriate for resume code.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>