media: TDA1997x: fix tda1997x_query_dv_timings() return value
authorKrzysztof Hałasa <khalasa@piap.pl>
Mon, 26 Jul 2021 10:46:28 +0000 (12:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:25 +0000 (13:40 +0200)
commitc159db240cf27af29f4e4e747c8bd60faa5e34fa
tree72848310b7577e8e2214e9215be0763cdf42caf4
parente3a2e20ed5037e668df4522575fd09a2b87263c3
media: TDA1997x: fix tda1997x_query_dv_timings() return value

[ Upstream commit 7dee1030871a48d4f3c5a74227a4b4188463479a ]

Correctly propagate the tda1997x_detect_std error value.

Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/tda1997x.c