From: Ville Syrjälä Date: Mon, 9 Mar 2020 13:36:44 +0000 (+0200) Subject: drm/panel-novatek-nt35510: Fix dotclock X-Git-Tag: v5.7-rc1~136^2~9^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f9326d734adc6748e1223967b2c2d2749c511e0;p=thirdparty%2Fkernel%2Flinux.git drm/panel-novatek-nt35510: Fix dotclock The dotclock is three orders of magnitude out. Fix it. v2: Just set it to 20MHz (Linus) Cc: Linus Walleij Cc: Sam Ravnborg Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20200309133644.32385-1-ville.syrjala@linux.intel.com Reviewed-by: Linus Walleij --- diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35510.c b/drivers/gpu/drm/panel/panel-novatek-nt35510.c index b4c014126781d..4a8fa908a2cf5 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt35510.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt35510.c @@ -1019,7 +1019,7 @@ static const struct nt35510_config nt35510_hydis_hva40wv1 = { */ .mode = { /* The internal pixel clock of the NT35510 is 20 MHz */ - .clock = 20000000, + .clock = 20000, .hdisplay = 480, .hsync_start = 480 + 2, /* HFP = 2 */ .hsync_end = 480 + 2 + 0, /* HSync = 0 */