drm: bridge: synopsys: dw-hdmi: Set dw-hdmi driver data

If hdmi driver data isn't be set, hdmi pointer can't be get
correctly, system will crush when reboot or shutdown.

Change-Id: I3a17a3238c307ab28d7570e8803a6dbe8c57c930
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
Algea Cao
2019-08-29 14:29:46 +08:00
parent 855f25a0c6
commit db79b1540c

View File

@@ -3848,6 +3848,7 @@ __dw_hdmi_probe(struct platform_device *pdev,
if (hdmi->i2c)
dw_hdmi_i2c_init(hdmi);
dev_set_drvdata(dev, hdmi);
dw_hdmi_register_debugfs(dev, hdmi);
if (of_property_read_bool(np, "hdcp1x-enable"))