Skip to content

Commit 6d5501d

Browse files
committed
drm/bridge: correct DRM_BRIDGE_OP_EDID documentation
While the commit d807ad8 ("drm/bridge: add ->edid_read hook and drm_bridge_edid_read()") and the commit 27b8f91 ("drm/bridge: remove ->get_edid callback") replaced ->get_edid() callback with the ->edid_read(), they failed to update documentation. Fix the drm_bridge docs to point to edid_read(). Fixes: 27b8f91 ("drm/bridge: remove ->get_edid callback") Reviewed-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240310-drm-bridge-fix-docs-v1-1-70d3d741cb7a@linaro.org
1 parent 5d515eb commit 6d5501d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/drm/drm_bridge.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ struct drm_bridge_funcs {
541541
* The @get_modes callback is mostly intended to support non-probeable
542542
* displays such as many fixed panels. Bridges that support reading
543543
* EDID shall leave @get_modes unimplemented and implement the
544-
* &drm_bridge_funcs->get_edid callback instead.
544+
* &drm_bridge_funcs->edid_read callback instead.
545545
*
546546
* This callback is optional. Bridges that implement it shall set the
547547
* DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops.
@@ -687,7 +687,7 @@ enum drm_bridge_ops {
687687
/**
688688
* @DRM_BRIDGE_OP_EDID: The bridge can retrieve the EDID of the display
689689
* connected to its output. Bridges that set this flag shall implement
690-
* the &drm_bridge_funcs->get_edid callback.
690+
* the &drm_bridge_funcs->edid_read callback.
691691
*/
692692
DRM_BRIDGE_OP_EDID = BIT(1),
693693
/**

0 commit comments

Comments
 (0)