]> git.baikalelectronics.ru Git - kernel.git/commit
media: tvp5150: add support to limit sdtv standards
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 12 Mar 2020 10:31:55 +0000 (11:31 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 15:42:21 +0000 (16:42 +0100)
commit943d609d8ad31b4d5bd79decc9dc6c5b2b020ba4
tree02eaa95582ac6c9ae201c68e6bac3361b05233c9
parent26bd98b6c885a8a68c4ba5fc8243aeefc94a262c
media: tvp5150: add support to limit sdtv standards

The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video
data and is able to auto-detect the input signal. The auto-detection
does not work if the connector does not receive an input signal and the
tvp5150 might not be configured correctly. This misconfiguration leads
into wrong decoded video streams if the tvp5150 gets powered on before
the video signal is present.

Limit the supported sdtv standards according to the actual selected
connector to avoid a misconfiguration.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/tvp5150.c