aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannick Fertre <yannick.fertre@foss.st.com>2021-03-04 13:14:35 +0100
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-03-11 17:55:44 +0100
commit612f76922756c6fab6992c637b4a5dec2a64beb0 (patch)
tree1be30b2b39eabeccfb5b113b9cd297335ebe4dbe
parenta6d047c0a86b4d91f0964ad35b38577e221cdde2 (diff)
downloadu-boot-612f76922756c6fab6992c637b4a5dec2a64beb0.zip
u-boot-612f76922756c6fab6992c637b4a5dec2a64beb0.tar.gz
u-boot-612f76922756c6fab6992c637b4a5dec2a64beb0.tar.bz2
video: dw_mipi_dsi: missing device to log debug
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>
-rw-r--r--drivers/video/dw_mipi_dsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c
index 4dde648..a5beed3 100644
--- a/drivers/video/dw_mipi_dsi.c
+++ b/drivers/video/dw_mipi_dsi.c
@@ -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;