Skip to content

Commit 2ce11b7

Browse files
committed
drm: rockchip: dw-hdmi: fix no encoder found when find_connector_by_bridge
Change-Id: I4d8b36f6bc06219ad7630e5e6064de37a80eb07d Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
1 parent e05039b commit 2ce11b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,6 +1322,7 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
13221322
hdmi->dev = &pdev->dev;
13231323
hdmi->dev_type = plat_data->dev_type;
13241324
encoder = &hdmi->encoder;
1325+
encoder->port = hdmi->dev->of_node;
13251326

13261327
irq = platform_get_irq(pdev, 0);
13271328
if (irq < 0)

0 commit comments

Comments
 (0)