media: amphion: don't change the colorspace reported by decoder.
authorMing Qian <ming.qian@nxp.com>
Tue, 26 Jul 2022 03:02:29 +0000 (05:02 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 30 Aug 2022 13:16:49 +0000 (15:16 +0200)
commit61c2698ee60630c6a7d2e99850fa81ff6450270a
tree24331ca95eb4f74dc793de6f908f47ac42de62cb
parent996f4e89fabe44ab9ac0aabb0697aeecbe717eca
media: amphion: don't change the colorspace reported by decoder.

decoder will report the colorspace information
which is parsed from the sequence header,
if they are unspecified, just let application to determine it,
don't change it in driver.

Fixes: 6de8d628df6ef ("media: amphion: add v4l2 m2m vpu decoder stateful driver")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/vdec.c