Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/tidss: drop use of legacy drm_bus_flags

Use the more descriptive _DRIVE_ variants thus avoiding the
legacy drm_bus_flags values.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200630180545.1132217-2-sam@ravnborg.org

+2 -2
+2 -2
drivers/gpu/drm/tidss/tidss_dispc.c
··· 997 997 998 998 ieo = !!(tstate->bus_flags & DRM_BUS_FLAG_DE_LOW); 999 999 1000 - ipc = !!(tstate->bus_flags & DRM_BUS_FLAG_PIXDATA_NEGEDGE); 1000 + ipc = !!(tstate->bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE); 1001 1001 1002 1002 /* always use the 'rf' setting */ 1003 1003 onoff = true; 1004 1004 1005 - rf = !!(tstate->bus_flags & DRM_BUS_FLAG_SYNC_POSEDGE); 1005 + rf = !!(tstate->bus_flags & DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE); 1006 1006 1007 1007 /* always use aligned syncs */ 1008 1008 align = true;