summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/common/dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c
index be99fe8992..03e177e569 100644
--- a/src/soc/mediatek/common/dsi.c
+++ b/src/soc/mediatek/common/dsi.c
@@ -28,9 +28,9 @@ static unsigned int mtk_dsi_get_bits_per_pixel(u32 format)
switch (format) {
case MIPI_DSI_FMT_RGB565:
return 16;
- case MIPI_DSI_FMT_RGB666:
case MIPI_DSI_FMT_RGB666_PACKED:
return 18;
+ case MIPI_DSI_FMT_RGB666:
case MIPI_DSI_FMT_RGB888:
return 24;
}