projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0734b0f
)
drm/rockchip: dw-mipi-dsi: use positive check for N{H, V}SYNC
author
xubilv
<xbl@rock-chips.com>
Tue, 18 Jul 2017 03:38:16 +0000
(11:38 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Thu, 20 Jul 2017 11:19:55 +0000
(19:19 +0800)
This matches other drivers.
Change-Id: I1e5773b926c274e99ea117a2a0fdc5ab096c49aa
Signed-off-by: xubilv <xbl@rock-chips.com>
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
index 642caf1247a2182ba6afab6650bc17f70ff25872..2bf31d5ba7c36818e7b5f3030860c97f4e713a88 100644
(file)
--- a/
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
+++ b/
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
@@
-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));