OSDN Git Service

media: allegro: print message on mcu error
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:21 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:07:35 +0000 (09:07 +0100)
commit04d2a1101871030e0b80ab3bfd97d407d7804569
tree5e387553eea1351d563640f8d535603fb23b2543
parent75a0359f29435df5d44fce307a06aab73fa6ae08
media: allegro: print message on mcu error

The codec firmware uses error codes to report errors during the
configuration of a channel or while encoding a frame. Translate them
into human readable strings for debugging.

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