]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix a compile error due to bridge->detec...
authorAndy Yan <andyshrk@163.com>
Tue, 15 Jul 2025 05:47:52 +0000 (13:47 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 15 Jul 2025 12:13:52 +0000 (15:13 +0300)
Fix the compile error due to bridge->detect parameter changes.

Reported-by: Dixit Ashutosh <ashutosh.dixit@intel.com>
Closes: https://lore.kernel.org/dri-devel/175250667117.3567548.8371527247937906463.b4-ty@oss.qualcomm.com/T/#m8ecd00a05a330bc9c76f11c981daafcb30a7c2e0
Fixes: 5d156a9c3d5e ("drm/bridge: Pass down connector to drm bridge detect hook")
Signed-off-by: Andy Yan <andyshrk@163.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250715054754.800765-1-andyshrk@163.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c

index de57f8a9e98c348355fefd4d84082388a43332f2..c9e6505cbd88214131a94a22ee17f62bc296d755 100644 (file)
@@ -142,7 +142,7 @@ ge_b850v3_lvds_bridge_detect(struct drm_bridge *bridge, struct drm_connector *co
 static enum drm_connector_status ge_b850v3_lvds_detect(struct drm_connector *connector,
                                                       bool force)
 {
-       return ge_b850v3_lvds_bridge_detect(&ge_b850v3_lvds_ptr->bridge);
+       return ge_b850v3_lvds_bridge_detect(&ge_b850v3_lvds_ptr->bridge, connector);
 }
 
 static const struct drm_connector_funcs ge_b850v3_lvds_connector_funcs = {