mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
linux (Rockchip): rebase patch for 5.16.11
This commit is contained in:
parent
5cb38c7f77
commit
bf1d4002ab
@ -759,7 +759,18 @@ diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockc
|
|||||||
index 8b957af7c61a..303c6e81ca4f 100644
|
index 8b957af7c61a..303c6e81ca4f 100644
|
||||||
--- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
|
--- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
|
||||||
+++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
|
+++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
|
||||||
@@ -516,8 +516,7 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
|
@@ -518,8 +518,8 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
|
||||||
|
if (IS_ERR(hdmi->phy)) {
|
||||||
|
ret = PTR_ERR(hdmi->phy);
|
||||||
|
if (ret != -EPROBE_DEFER)
|
||||||
|
- DRM_DEV_ERROR(hdmi->dev, "failed to get phy\n");
|
||||||
|
- return ret;
|
||||||
|
+ DRM_DEV_ERROR(hdmi->dev, "Failed to get phy: %d\n", ret);
|
||||||
|
+ goto err_disable_clk;
|
||||||
|
}
|
||||||
|
|
||||||
|
ret = clk_prepare_enable(hdmi->vpll_clk);
|
||||||
|
@@ -524,8 +524,7 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
|
||||||
|
|
||||||
ret = clk_prepare_enable(hdmi->vpll_clk);
|
ret = clk_prepare_enable(hdmi->vpll_clk);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
@ -769,14 +780,7 @@ index 8b957af7c61a..303c6e81ca4f 100644
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -525,12 +524,16 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
|
@@ -530,7 +530,11 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
|
||||||
if (IS_ERR(hdmi->phy)) {
|
|
||||||
ret = PTR_ERR(hdmi->phy);
|
|
||||||
if (ret != -EPROBE_DEFER)
|
|
||||||
- DRM_DEV_ERROR(hdmi->dev, "failed to get phy\n");
|
|
||||||
- return ret;
|
|
||||||
+ DRM_DEV_ERROR(hdmi->dev, "Failed to get phy: %d\n", ret);
|
|
||||||
+ goto err_disable_clk;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
drm_encoder_helper_add(encoder, &dw_hdmi_rockchip_encoder_helper_funcs);
|
drm_encoder_helper_add(encoder, &dw_hdmi_rockchip_encoder_helper_funcs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user