OSDN Git Service

media: allegro: fail encoding only on actual errors
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:22 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:08:09 +0000 (09:08 +0100)
commitb646f99642b7499b469eaff25829a0b91a69692a
tree8667c6709b15b2c78c25a363016c45d4261f59bd
parent04d2a1101871030e0b80ab3bfd97d407d7804569
media: allegro: fail encoding only on actual errors

Only negative values are actual errors and positive values are used for
warnings. Warnings should not fail the encoding process.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/allegro-dvt/allegro-core.c