media: hantro: Prevent encoders from using post-processing
authorEzequiel Garcia <ezequiel@collabora.com>
Wed, 29 Jan 2020 21:06:08 +0000 (22:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 16:21:11 +0000 (17:21 +0100)
commit986eee3a5234fa43b94928f63b9fd8b513cd96e7
tree2b42d070fc84dd0524d96dccfd7f0cbcab4d5d12
parent042584e9055b615ac917239884fb0d65690f56ec
media: hantro: Prevent encoders from using post-processing

The post-processing feature is meant to be used by decoding
only. Prevent encoding jobs from enabling it.

Fixes: 8c2d66b036c77 ("media: hantro: Support color conversion via post-processing")
Signed-off-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