summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2020-06-16 12:05:36 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-06-16 12:05:36 -0700
commita030949485709167682073ea52ce586da78e885c (patch)
treec6387a1721732734c4743d613cf2c6546344dfe2
parentf719f28872b00c679273b6813703d2a1d33ceb89 (diff)
parent5543cb58b0850c27bd2a73173828686164c844d7 (diff)
Merge "drm/msm/dsi: use correct enum in dsi_get_cmd_fmt"
-rw-r--r--drivers/gpu/drm/msm/dsi/dsi_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c
index 845e4ad7b464..0311405973be 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_host.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_host.c
@@ -595,7 +595,7 @@ static inline enum dsi_cmd_dst_format dsi_get_cmd_fmt(
switch (mipi_fmt) {
case MIPI_DSI_FMT_RGB888: return CMD_DST_FORMAT_RGB888;
case MIPI_DSI_FMT_RGB666_PACKED:
- case MIPI_DSI_FMT_RGB666: return VID_DST_FORMAT_RGB666;
+ case MIPI_DSI_FMT_RGB666: return CMD_DST_FORMAT_RGB666;
case MIPI_DSI_FMT_RGB565: return CMD_DST_FORMAT_RGB565;
default: return CMD_DST_FORMAT_RGB888;
}