linux_dsm_epyc7002/drivers/phy/rockchip
Chris Ruehl 95fdc1ea3b phy: rockchip-emmc: emmc_phy_init() always return 0
[ Upstream commit 39961bd6b70e5a5d7c4b5483ad8e1db6b5765c60 ]

rockchip_emmc_phy_init() return variable is not set with the error value
if clk_get() failed. 'emmcclk' is optional, thus use clk_get_optional()
and if the return value != NULL make error processing and set the
return code accordingly.

Fixes: 52c0624a10 phy: rockchip-emmc: Set phyctrl_frqsel based on card clock
Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20201210080454.17379-1-chris.ruehl@gtsys.com.hk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:10 +01:00
..
Kconfig phy: Move phy-rockchip-dphy-rx0 out of staging 2020-08-31 18:28:21 +05:30
Makefile phy: Move phy-rockchip-dphy-rx0 out of staging 2020-08-31 18:28:21 +05:30
phy-rockchip-dp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
phy-rockchip-dphy-rx0.c phy: rockchip-dphy-rx0: Include linux/delay.h 2020-09-22 19:44:04 +05:30
phy-rockchip-emmc.c phy: rockchip-emmc: emmc_phy_init() always return 0 2021-03-04 11:38:10 +01:00
phy-rockchip-inno-dsidphy.c phy: rockchip: Fix return value of inno_dsidphy_probe() 2020-06-24 18:29:09 +05:30
phy-rockchip-inno-hdmi.c phy/rockchip: inno-hdmi: round clock rate down to closest 1000 Hz 2019-12-31 15:46:08 +05:30
phy-rockchip-inno-usb2.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
phy-rockchip-pcie.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
phy-rockchip-typec.c phy: rockchip-typec: use correct format for structure description 2020-07-13 12:14:54 +05:30
phy-rockchip-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00