linux_dsm_epyc7002/drivers/phy
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
..
allwinner Merge branch 'fixes' into next 2020-07-17 13:45:53 +05:30
amlogic USB: changes for v5.8 merge window 2020-05-25 13:28:20 +02:00
broadcom phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211 2020-10-28 21:40:56 +05:30
cadence phy: cadence-torrent: Add USB + SGMII/QSGMII multilink configuration 2020-09-18 10:47:22 +05:30
freescale phy: fsl-imx8mq-usb: Constify imx8mq_usb_phy_ops 2020-08-31 14:36:36 +05:30
hisilicon phy: hisilicon; Constify hi3660_phy_ops 2020-08-31 14:36:36 +05:30
intel phy: intel: PHY_INTEL_KEEMBAY_EMMC should depend on ARCH_KEEMBAY 2020-11-16 13:10:17 +05:30
lantiq phy: lantiq: vrx200-pcie: Constify ltq_vrx200_pcie_phy_ops 2020-08-31 14:36:37 +05:30
marvell pci-v5.10-changes 2020-10-22 12:41:00 -07:00
mediatek drm/mediatek: avoid dereferencing a null hdmi_phy on an error message 2020-12-30 11:53:43 +01:00
motorola phy: cpcap-usb: Fix warning for missing regulator_disable 2021-02-07 15:37:13 +01:00
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: qualcomm: Fix 28 nm Hi-Speed USB PHY OF dependency 2020-11-16 13:20:38 +05:30
ralink phy: ralink-usb: Constify ralink_usb_phy_ops 2020-08-31 14:36:37 +05:30
renesas phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure 2020-12-30 11:53:36 +01:00
rockchip phy: rockchip-emmc: emmc_phy_init() always return 0 2021-03-04 11:38:10 +01:00
samsung phy: samsung-ufs: Constify samsung_ufs_phy_ops 2020-08-31 14:36:37 +05:30
socionext phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
st phy: stm32: use NULL instead of zero 2020-07-13 12:15:46 +05:30
tegra phy: tegra: xusb: Fix usb_phy device driver field 2020-12-30 11:53:26 +01:00
ti Merge 5.9-rc8 into usb-next 2020-10-05 08:54:36 +02:00
xilinx phy: zynqmp: Fix unused-function compiler warning 2020-07-01 20:35:29 +05:30
Kconfig phy: fix USB_LGM_PHY warning & build errors 2020-09-22 19:41:43 +05:30
Makefile phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-core-mipi-dphy.c phy: dphy: Change units of wakeup and init parameters 2019-02-07 11:11:05 +05:30
phy-core.c phy: core: Document function args 2020-07-08 16:40:21 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: xgene: remove unsigned integer comparison with less than zero 2020-07-13 12:14:51 +05:30