]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/ingenic-drm: drop use of legacy drm_bus_flags
authorSam Ravnborg <sam@ravnborg.org>
Tue, 30 Jun 2020 18:05:40 +0000 (20:05 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 1 Jul 2020 09:04:17 +0000 (11:04 +0200)
Replace the legacy member with the more descriptive _DRIVE_ variant.
No functional change.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200630180545.1132217-3-sam@ravnborg.org
drivers/gpu/drm/ingenic/ingenic-drm.c

index 16f0740df507c7bf82262a07f8cb9be80d29cf62..deb37b4a8e91f8217cede9cac703f70277f63081 100644 (file)
@@ -419,7 +419,7 @@ static void ingenic_drm_encoder_atomic_mode_set(struct drm_encoder *encoder,
                cfg |= JZ_LCD_CFG_VSYNC_ACTIVE_LOW;
        if (info->bus_flags & DRM_BUS_FLAG_DE_LOW)
                cfg |= JZ_LCD_CFG_DE_ACTIVE_LOW;
-       if (info->bus_flags & DRM_BUS_FLAG_PIXDATA_NEGEDGE)
+       if (info->bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE)
                cfg |= JZ_LCD_CFG_PCLK_FALLING_EDGE;
 
        if (!priv->panel_is_sharp) {