Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b66d0f34 authored by Noralf Trønnes's avatar Noralf Trønnes
Browse files

drm/probe-helper: Fix drm_kms_helper_poll_enable() docs



Fix docs to reflect code and drm_kms_helper_poll_disable() docs by saying
that calling drm_kms_helper_poll_enable() is fine even if output polling
is not enabled.

Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171106191812.38927-2-noralf@tronnes.org
parent ff71c2cf
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -216,8 +216,7 @@ enum drm_mode_status drm_connector_mode_valid(struct drm_connector *connector,
 * suspend/resume.
 * suspend/resume.
 *
 *
 * Drivers can call this helper from their device resume implementation. It is
 * Drivers can call this helper from their device resume implementation. It is
 * an error to call this when the output polling support has not yet been set
 * not an error to call this even when output polling isn't enabled.
 * up.
 *
 *
 * Note that calls to enable and disable polling must be strictly ordered, which
 * Note that calls to enable and disable polling must be strictly ordered, which
 * is automatically the case when they're only call from suspend/resume
 * is automatically the case when they're only call from suspend/resume