aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/ti-vpe/vpdma_priv.h
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2013-12-03 08:51:12 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-10 16:49:02 -0200
commitfe104a9b61ac8856e7973058b71f33224a7d5ed7 (patch)
treedf4f3d49c91571e82c7374553de894462538924e /drivers/media/platform/ti-vpe/vpdma_priv.h
parent[media] media: pci: remove DEFINE_PCI_DEVICE_TABLE macro (diff)
downloadlinux-dev-fe104a9b61ac8856e7973058b71f33224a7d5ed7.tar.xz
linux-dev-fe104a9b61ac8856e7973058b71f33224a7d5ed7.zip
[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>
Diffstat (limited to 'drivers/media/platform/ti-vpe/vpdma_priv.h')
-rw-r--r--drivers/media/platform/ti-vpe/vpdma_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/ti-vpe/vpdma_priv.h b/drivers/media/platform/ti-vpe/vpdma_priv.h
index f0e9a8038c1b..c1a6ce1884f3 100644
--- a/drivers/media/platform/ti-vpe/vpdma_priv.h
+++ b/drivers/media/platform/ti-vpe/vpdma_priv.h
@@ -78,7 +78,7 @@
#define DATA_TYPE_C420 0x6
#define DATA_TYPE_YC422 0x7
#define DATA_TYPE_YC444 0x8
-#define DATA_TYPE_CY422 0x23
+#define DATA_TYPE_CY422 0x27
#define DATA_TYPE_RGB16_565 0x0
#define DATA_TYPE_ARGB_1555 0x1