diff options
author | Sascha Hauer <[email protected]> | 2022-11-01 10:57:14 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-11-11 16:56:10 +0100 |
commit | ae6b9a65af480144da323436d90e149501ea8937 (patch) | |
tree | c24fb7eec642566e4575e53371a460c105f7b720 /lib/mpi/mpi-sub-ui.c | |
parent | 8405d8f0956d227c3355d9bdbabc23f79f721ce4 (diff) |
PCI: imx6: Initialize PHY before deasserting core reset
When the PHY is the reference clock provider then it must be initialized
and powered on before the reset on the client is deasserted, otherwise
the link will never come up. The order was changed in cf236e0c0d59.
Restore the correct order to make the driver work again on boards where
the PHY provides the reference clock. This also changes the order for
boards where the Soc is the PHY reference clock divider, but this
shouldn't do any harm.
Link: https://lore.kernel.org/r/[email protected]
Fixes: cf236e0c0d59 ("PCI: imx6: Do not hide PHY driver callbacks and refine the error handling")
Tested-by: Richard Zhu <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions