mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user