media: hantro: Only use postproc when post processed formats are defined
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Thu, 3 Jun 2021 11:50:00 +0000 (13:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 14:08:18 +0000 (16:08 +0200)
commit31ad15e688e58a94779971f428c414b7a3f882d1
tree89d70c838d6de88761774d9f63133c5d1f48a6dc
parent8968cfc282955c3f853b34d9ceaaa1ba33943e94
media: hantro: Only use postproc when post processed formats are defined

If the variant doesn't support postprocessed formats make sure it will
be ok.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_postproc.c
drivers/staging/media/hantro/hantro_v4l2.c