mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
drm/rockchip: dw-mipi-dsi: use positive check for N{H, V}SYNC
This matches other drivers. Change-Id: I1e5773b926c274e99ea117a2a0fdc5ab096c49aa Signed-off-by: xubilv <xbl@rock-chips.com>
This commit is contained in:
@@ -781,9 +781,9 @@ static void dw_mipi_dsi_dpi_config(struct dw_mipi_dsi *dsi,
|
||||
break;
|
||||
}
|
||||
|
||||
if (!(mode->flags & DRM_MODE_FLAG_PVSYNC))
|
||||
if (mode->flags & DRM_MODE_FLAG_PHSYNC)
|
||||
val |= VSYNC_ACTIVE_LOW;
|
||||
if (!(mode->flags & DRM_MODE_FLAG_PHSYNC))
|
||||
if (mode->flags & DRM_MODE_FLAG_PVSYNC)
|
||||
val |= HSYNC_ACTIVE_LOW;
|
||||
|
||||
dsi_write(dsi, DSI_DPI_VCID, DPI_VID(dsi->channel));
|
||||
|
||||
Reference in New Issue
Block a user