media: coda: remove definition of CODA_STD_MJPG
authorMartin Kepplinger <martink@posteo.de>
Wed, 8 Nov 2017 18:58:03 +0000 (13:58 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 16:12:31 +0000 (11:12 -0500)
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>
drivers/media/platform/coda/coda_regs.h

index 38df5fd..35e620c 100644 (file)
 #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