aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-01-20 18:12:17 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-01-21 10:30:12 +0100
commit47ef63e0cac8a14787f25d6798b5cbe7552f2a0f (patch)
tree58cbeaac68aaa7c7d66578ea9b032b6bb15e1516 /include/drm
parentdrm/stm: ltdc: remove set but not used variable 'src_h' (diff)
downloadlinux-dev-47ef63e0cac8a14787f25d6798b5cbe7552f2a0f.tar.xz
linux-dev-47ef63e0cac8a14787f25d6798b5cbe7552f2a0f.zip
drm: fix drm_can_sleep() comment
Reversed logic when writing the original comment, now fixed. Fixes: e9eafcb58921 ("drm: move drm_can_sleep() to drm_util.h") Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190120171217.12508-1-sam@ravnborg.org
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_util.h b/include/drm/drm_util.h
index 8163d35f8327..07b8e9f04599 100644
--- a/include/drm/drm_util.h
+++ b/include/drm/drm_util.h
@@ -71,7 +71,7 @@
* FIXME: All users of drm_can_sleep should be removed (see todo.rst)
*
* Returns:
- * True if kgdb is active or we are in an atomic context or irqs are disabled
+ * False if kgdb is active, we are in atomic context or irqs are disabled.
*/
static inline bool drm_can_sleep(void)
{