[PATCH 15/32] drm: adp: mipi: convert to the .attach_new op

Luca Ceresoli luca.ceresoli at bootlin.com
Wed Jun 25 16:45:19 UTC 2025


This op does not pass any pointer to the DSI device, so the DSI host driver
cannot store it.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
---
 drivers/gpu/drm/adp/adp-mipi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/adp/adp-mipi.c b/drivers/gpu/drm/adp/adp-mipi.c
index cba7d32150a98d78d07a25b1822dec6bf2f08f65..088b13ed0c89ce5e1fd3f4e57fa842fb2f31f257 100644
--- a/drivers/gpu/drm/adp/adp-mipi.c
+++ b/drivers/gpu/drm/adp/adp-mipi.c
@@ -171,7 +171,7 @@ static const struct component_ops adp_dsi_component_ops = {
 };
 
 static int adp_dsi_host_attach(struct mipi_dsi_host *host,
-			       struct mipi_dsi_device *dev)
+			       const struct mipi_dsi_bus_fmt *bus_fmt)
 {
 	struct adp_mipi_drv_private *adp = mipi_to_adp(host);
 	struct drm_bridge *next;
@@ -207,7 +207,7 @@ static int adp_dsi_host_detach(struct mipi_dsi_host *host,
 
 static const struct mipi_dsi_host_ops adp_dsi_host_ops = {
 	.transfer = adp_dsi_host_transfer,
-	.attach = adp_dsi_host_attach,
+	.attach_new = adp_dsi_host_attach,
 	.detach = adp_dsi_host_detach,
 };
 

-- 
2.49.0



More information about the dri-devel mailing list