drm/bridge: synopsys: dw-hdmi: update for remove connector port

Change-Id: Ia0ca8c2fddf89f29bf4ac5703d8f4d0f68d6446a
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
Sandy Huang
2020-07-01 17:34:57 +08:00
committed by Algea Cao
parent b0c245000a
commit 7c95c85b18
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -4049,7 +4049,7 @@ EXPORT_SYMBOL_GPL(dw_hdmi_remove);
*/
struct dw_hdmi *dw_hdmi_bind(struct platform_device *pdev,
struct drm_encoder *encoder,
const struct dw_hdmi_plat_data *plat_data)
struct dw_hdmi_plat_data *plat_data)
{
struct dw_hdmi *hdmi;
int ret;
@@ -4064,6 +4064,7 @@ struct dw_hdmi *dw_hdmi_bind(struct platform_device *pdev,
DRM_ERROR("Failed to initialize bridge with drm\n");
return ERR_PTR(ret);
}
plat_data->connector = &hdmi->connector;
return hdmi;
}
+2 -1
View File
@@ -195,6 +195,7 @@ struct dw_hdmi_plat_data {
/* Vendor Property support */
const struct dw_hdmi_property_ops *property_ops;
struct drm_connector *connector;
};
struct dw_hdmi *dw_hdmi_probe(struct platform_device *pdev,
@@ -203,7 +204,7 @@ void dw_hdmi_remove(struct dw_hdmi *hdmi);
void dw_hdmi_unbind(struct dw_hdmi *hdmi);
struct dw_hdmi *dw_hdmi_bind(struct platform_device *pdev,
struct drm_encoder *encoder,
const struct dw_hdmi_plat_data *plat_data);
struct dw_hdmi_plat_data *plat_data);
void dw_hdmi_suspend(struct dw_hdmi *hdmi);
void dw_hdmi_resume(struct dw_hdmi *hdmi);