diff options
author | henryhsu <henryhsu@chromium.org> | 2017-06-30 10:15:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-26 08:36:50 -0400 |
commit | 80cdacaa5cad7e0550789a47bcd108f32a7fc9f1 (patch) | |
tree | 9106fad591febec8e8b1749e48617fcb18365c74 /drivers/media/i2c/s5k5baf.c | |
parent | 1c84e7f9d5dc596bef22204131e561c4b3addf0a (diff) |
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>
Diffstat (limited to 'drivers/media/i2c/s5k5baf.c')
0 files changed, 0 insertions, 0 deletions