瀏覽代碼

[media] v4l: ti-vpe: Fix the data_type value for UYVY VPDMA format

The data_type value to be programmed in the data descriptors to fetch/write a
UYVY buffer was not mentioned correctly in the older DRA7x documentation. This
caused VPE to fail with UYVY color formats.
Update the data_type value to fix functionality when UYVY format is used.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Archit Taneja 11 年之前
父節點
當前提交
fe104a9b61
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/platform/ti-vpe/vpdma_priv.h

+ 1 - 1
drivers/media/platform/ti-vpe/vpdma_priv.h

@@ -78,7 +78,7 @@
 #define DATA_TYPE_C420				0x6
 #define DATA_TYPE_C420				0x6
 #define DATA_TYPE_YC422				0x7
 #define DATA_TYPE_YC422				0x7
 #define DATA_TYPE_YC444				0x8
 #define DATA_TYPE_YC444				0x8
-#define DATA_TYPE_CY422				0x23
+#define DATA_TYPE_CY422				0x27
 
 
 #define DATA_TYPE_RGB16_565			0x0
 #define DATA_TYPE_RGB16_565			0x0
 #define DATA_TYPE_ARGB_1555			0x1
 #define DATA_TYPE_ARGB_1555			0x1