arm-trusted-firmware/drivers
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
..
allwinner plat/allwinner: do not setup 'disabled' regulators 2021-03-19 12:57:50 +01:00
amlogic Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
arm fix(drivers/tzc400): never disable filter 0 2021-09-15 15:24:22 +02:00
auth feat(fwu): avoid NV counter upgrade in trial run state 2021-08-02 17:15:40 +01:00
brcm Merge "driver: brcm: add mdio driver" into integration 2021-04-12 16:43:48 +02:00
cadence/uart/aarch64 cadence: Change logic in uart driver 2021-01-11 17:28:00 +00:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
console Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
coreboot/cbmem_console/aarch64 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
delay_timer include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00
fwu refactor(hw_crc32): renamed hw_crc32 to tf_crc32 2021-08-02 17:15:41 +01:00
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io feat(io_mtd): offset management for FIP usage 2021-07-13 18:16:55 +02:00
marvell fix(drivers/marvell/comphy-3700): handle failures in power functions 2021-09-29 22:25:44 +02:00
measured_boot refactor(measured boot): revisit error handling (3/3) 2021-07-05 10:33:38 +02:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc feat(drivers/mmc): boot partition read support 2021-06-04 09:52:37 +02:00
mtd feat(nand): count bad blocks before a given offset 2021-07-13 18:16:55 +02:00
nxp refactor(plat/nxp): refine api to read SVR register 2021-08-26 10:08:57 +08:00
partition drivers: partition: support different block size 2019-09-18 18:18:20 +08:00
rambus drivers/rambus: add TRNG-IP-76 driver 2021-02-11 09:43:18 +00:00
renesas feat(plat/rcar3): add new board revision for Salvator-XS/H3ULCB 2021-07-10 17:35:36 +02:00
rpi3 rpi3: gpio: Simplify GPIO setup 2020-03-17 12:44:09 +00:00
scmi-msg fix(drivers/scmi-msg): entry: add weak functions 2021-07-22 10:27:48 +08:00
st fix(drivers/st/pmic): missing error check 2021-06-22 14:10:27 +02:00
synopsys Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
ti/uart Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
ufs drivers: ufs: Extend the delay after reset to wait for some slower chips 2019-05-13 17:11:07 -07:00