hantro: Remove incorrect HEVC SPS validation
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Mon, 18 Jul 2022 21:41:23 +0000 (18:41 -0300)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 27 Jul 2022 18:55:02 +0000 (20:55 +0200)
commitdf9ec2fc8e70e01532fd9161cd98711969561ff6
treed5de2942cb40d58a928da41cc753cedffaac4dca
parent143201a6435bf65f0115435e9dc6d95c66b908e9
hantro: Remove incorrect HEVC SPS validation

Currently, the driver tries to validat the HEVC SPS
against the CAPTURE queue format (i.e. the decoded format).
This is not correct, because typically the SPS control is set
before the CAPTURE queue is negotiated.

Fixes: 135ad96cb4d6b ("media: hantro: Be more accurate on pixel formats step_width constraints")
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_hevc.c
drivers/staging/media/hantro/hantro_hw.h