arm-trusted-firmware/drivers/marvell/comphy
Pali Rohár 49b664e75f fix(drivers/marvell/comphy-3700): handle failures in power functions
Subroutines in power functions may fail. So propagate failures from
subroutines back to the caller of power function with appropriate error
code in return value.

Function polling_with_timeout() returns last value from polled register
on failure and zero on success. So return -ETIMEDOUT on error from power
functions like it is doing Marvell comphy-cp110 driver.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I6c709c0c9616ab26829616a42a85b713f314b201
2021-09-29 22:25:44 +02:00
..
comphy-cp110.h fix(drivers/marvell/comphy): fix name of 3.125G SerDes mode 2021-08-27 11:16:43 +02:00
phy-comphy-3700.c fix(drivers/marvell/comphy-3700): handle failures in power functions 2021-09-29 22:25:44 +02:00
phy-comphy-3700.h drivers: marvell: comphy-a3700: Set TXDCLK_2X_SEL bit during PCIe initialization 2021-04-06 21:14:07 +02:00
phy-comphy-common.h fix(drivers/marvell/comphy): fix name of 3.125G SerDes mode 2021-08-27 11:16:43 +02:00
phy-comphy-cp110.c fix(drivers/marvell/comphy): fix name of 3.125G SerDes mode 2021-08-27 11:16:43 +02:00
phy-comphy-cp110.h drivers: marvell: comphy: add rx training on 10G port 2021-04-20 13:00:03 +02:00
phy-default-porting-layer.h marvell: comphy: cp110: add support for USB comphy polarity invert 2020-10-04 15:56:01 +02:00