2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/media/platform/s5p-jpeg
henryhsu 80cdacaa5c media: s5p-jpeg: Add stream error handling for Exynos5420
On Exynos5420, the STREAM_STAT bit raised on the JPGINTST register means
there is a syntax error or an unrecoverable error on compressed file
when ERR_INT_EN is set to 1.

Fix this case and report BUF_STATE_ERROR to videobuf2.

Signed-off-by: Henry-Ruey Hsu <henryhsu@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Acked-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-26 08:36:50 -04:00
..
jpeg-core.c media: s5p-jpeg: Add stream error handling for Exynos5420 2017-07-26 08:36:50 -04:00
jpeg-core.h media: s5p-jpeg: Add support for resolution change event 2017-07-26 08:36:08 -04:00
jpeg-hw-exynos4.c [media] squash lines for simple wrapper functions 2016-11-16 13:28:40 -02:00
jpeg-hw-exynos4.h [media] s5p-jpeg: add support for 5433 2015-10-01 08:40:04 -03:00
jpeg-hw-exynos3250.c [media] s5p-jpeg: exynos3250: fix erroneous reset procedure 2015-03-04 08:59:34 -03:00
jpeg-hw-exynos3250.h [media] s5p-jpeg: Add support for Exynos3250 SoC 2014-07-30 19:15:06 -03:00
jpeg-hw-s5p.c [media] s5p-jpeg: Remove some unused functions 2015-04-07 08:15:15 -03:00
jpeg-hw-s5p.h [media] s5p-jpeg: Remove some unused functions 2015-04-07 08:15:15 -03:00
jpeg-regs.h [media] s5p-jpeg: add support for 5433 2015-10-01 08:40:04 -03:00
Makefile [media] s5p-jpeg: Add support for Exynos3250 SoC 2014-07-30 19:15:06 -03:00