diff options
author | Yannick Fertré <yannick.fertre@st.com> | 2019-03-29 18:50:20 +0300 |
---|---|---|
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2019-04-24 14:51:27 +0300 |
commit | c64d1cb6b1c0e89e45ce686a63113d0f28ba94c5 (patch) | |
tree | ad4841b6dd5a950856a70ee8a21d36048f21bbd4 /drivers/gpu | |
parent | 0cabb0859f5fb341dd386492d181b5f04e2f169d (diff) | |
download | linux-c64d1cb6b1c0e89e45ce686a63113d0f28ba94c5.tar.xz |
drm/stm: ltdc: fix data enable polarity
Wrong DISPLAY_FLAGS used to set the data enable polarity.
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1553874620-31468-1-git-send-email-yannick.fertre@st.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/stm/ltdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index e92f660fedd3..02f67fa9881f 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -555,7 +555,7 @@ static void ltdc_crtc_mode_set_nofb(struct drm_crtc *crtc) if (vm.flags & DISPLAY_FLAGS_VSYNC_HIGH) val |= GCR_VSPOL; - if (vm.flags & DISPLAY_FLAGS_DE_HIGH) + if (vm.flags & DISPLAY_FLAGS_DE_LOW) val |= GCR_DEPOL; if (vm.flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE) |