drm/bridge: lt9611: pass a pointer to the of node
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 18 Jan 2023 08:16:51 +0000 (10:16 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 18 Jan 2023 14:27:07 +0000 (15:27 +0100)
Pass a pointer to the OF node while registering lt9611 MIPI device.

Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118081658.2198520-7-dmitry.baryshkov@linaro.org
drivers/gpu/drm/bridge/lontium-lt9611.c

index fb72cf7fb80f6c7624075d02a2a011003255f76a..dd1ae8d148c0401e35a3f4fc28086ae54c467763 100644 (file)
@@ -770,7 +770,7 @@ static const struct drm_connector_funcs lt9611_bridge_connector_funcs = {
 static struct mipi_dsi_device *lt9611_attach_dsi(struct lt9611 *lt9611,
                                                 struct device_node *dsi_node)
 {
-       const struct mipi_dsi_device_info info = { "lt9611", 0, NULL };
+       const struct mipi_dsi_device_info info = { "lt9611", 0, lt9611->dev->of_node};
        struct mipi_dsi_device *dsi;
        struct mipi_dsi_host *host;
        struct device *dev = lt9611->dev;