]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: jpeg: explicitly disable thumbnails in SEQ_INIT
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 29 Jun 2018 12:46:48 +0000 (08:46 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 4 Jul 2018 12:29:31 +0000 (08:29 -0400)
commite9b966e602404f26a72d3ef9f31c5f7e21850444
treebf61f7ce82ccc689aeace78c64f5d0e5b3d12ee2
parenta8161e9d3220c00380f36391c13d9827a1551822
media: coda: jpeg: explicitly disable thumbnails in SEQ_INIT

Explicitly clear DEC_SEQ_JPG_THUMB_EN during sequence initialization.
Not clearing the register does not cause problems, since the only other
codec (MPEG-4 decode) that writes to this register happens to always
write 0 as well.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda_regs.h