]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/panel-novatek-nt35510: Fix dotclock
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Mar 2020 13:36:44 +0000 (15:36 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Mar 2020 14:39:05 +0000 (16:39 +0200)
The dotclock is three orders of magnitude out. Fix it.

v2: Just set it to 20MHz (Linus)

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200309133644.32385-1-ville.syrjala@linux.intel.com
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpu/drm/panel/panel-novatek-nt35510.c

index b4c014126781d42b6b8930b321fb89f6e63a05e0..4a8fa908a2cf55ba04335c8a6d9dd2ad8c597b8d 100644 (file)
@@ -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 */