summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-11-08 13:58:03 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-08 11:12:31 -0500
commita95d811e50f1eae1da11b47b5dbc757cab9c8994 (patch)
treeba10b84d963f9574e7effa62ff9ea7a920496373 /drivers/media/platform
parent13109fbc78018f0bdfd52b111d7c1443da650b78 (diff)
downloadlinux-a95d811e50f1eae1da11b47b5dbc757cab9c8994.tar.gz
linux-a95d811e50f1eae1da11b47b5dbc757cab9c8994.tar.bz2
linux-a95d811e50f1eae1da11b47b5dbc757cab9c8994.zip
media: coda: remove definition of CODA_STD_MJPG
According to i.MX VPU API Reference Manuals the MJPG video codec is referenced to by number 7, not 3. Also Philipp pointed out that this value is only meant to fill in CMD_ENC_SEQ_COD_STD for encoding, only on i.MX53. It was never written to any register, and even if defined correctly, wouldn't be needed for i.MX6. So avoid confusion and remove this definition. Signed-off-by: Martin Kepplinger <martink@posteo.de> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/coda/coda_regs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda_regs.h b/drivers/media/platform/coda/coda_regs.h
index 38df5fd9a2fa..35e620c7f1f4 100644
--- a/drivers/media/platform/coda/coda_regs.h
+++ b/drivers/media/platform/coda/coda_regs.h
@@ -254,7 +254,6 @@
#define CODA9_STD_H264 0
#define CODA_STD_H263 1
#define CODA_STD_H264 2
-#define CODA_STD_MJPG 3
#define CODA9_STD_MPEG4 3
#define CODA_CMD_ENC_SEQ_SRC_SIZE 0x190