diff options
author | Pali Rohár <[email protected]> | 2022-08-29 10:30:46 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-08-30 10:32:33 +0530 |
commit | 0a6fc70d76bddf98278af2ac000379c82aec8f11 (patch) | |
tree | d19ae14aabdba8f6c79408fe6cf2b99e70d2c702 /drivers/net/wwan/iosm/iosm_ipc_protocol.c | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) |
phy: marvell: phy-mvebu-a3700-comphy: Remove broken reset support
Reset support for SATA PHY is somehow broken and after calling it, kernel
is not able to detect and initialize SATA disk Samsung SSD 850 EMT0 [1].
Reset support was introduced in commit 934337080c6c ("phy: marvell:
phy-mvebu-a3700-comphy: Add native kernel implementation") as part of
complete rewrite of this driver. v1 patch series of that commit [2] did
not contain reset support and was tested that is working fine with
Ethernet, SATA and USB PHYs without issues too.
So for now remove broken reset support and change implementation of
power_off callback to power off all functions on specified lane (and not
only selected function) because during startup kernel does not know which
function was selected and configured by bootloader. Same logic was used
also in v1 patch series of that commit.
This change fixes issues with initialization of SATA disk Samsung SSD 850
and disk is working again, like before mentioned commit.
Once problem with PHY reset callback is solved its functionality could be
re-introduced. But for now it is unknown why it does not work.
[1] - https://lore.kernel.org/r/20220531124159.3e4lgn2v462irbtz@shindev/
[2] - https://lore.kernel.org/r/[email protected]/
Reported-by: Shinichiro Kawasaki <[email protected]>
Fixes: 934337080c6c ("phy: marvell: phy-mvebu-a3700-comphy: Add native kernel implementation")
Cc: [email protected] # v5.18+
Signed-off-by: Pali Rohár <[email protected]>
Tested-by: Shinichiro Kawasaki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions