]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: dw_mipi_dsi: missing device to log debug
authorYannick Fertre <yannick.fertre@foss.st.com>
Thu, 4 Mar 2021 12:14:35 +0000 (13:14 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 16:55:44 +0000 (17:55 +0100)
Missing udevice to struct dw_mipi_dsi to log trace.

Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/video/dw_mipi_dsi.c

index 4dde64881448a2b4902e42e78442b1d4f1ec324f..a5beed3514e722cae00396164b23be18af9ec0f9 100644 (file)
@@ -797,6 +797,7 @@ static int dw_mipi_dsi_init(struct udevice *dev,
        dsi->phy_ops = phy_ops;
        dsi->max_data_lanes = max_data_lanes;
        dsi->device = device;
+       dsi->dsi_host.dev = (struct device *)dev;
        dsi->dsi_host.ops = &dw_mipi_dsi_host_ops;
        device->host = &dsi->dsi_host;