diff options
author | Krzysztof HaĆasa <khalasa@piap.pl> | 2021-06-16 07:13:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-15 09:50:31 +0200 |
commit | d4abb6e141051445cd469a0bc9bb40b7cd37904f (patch) | |
tree | 1d369fc9bb3bca6c057f90255fb53d0aaa5afe6f /drivers/media/i2c/tda1997x.c | |
parent | 8ce22f85381f7bc16dd6be7e85143a25d1b30687 (diff) | |
download | kernel_replicant_linux-d4abb6e141051445cd469a0bc9bb40b7cd37904f.tar.gz kernel_replicant_linux-d4abb6e141051445cd469a0bc9bb40b7cd37904f.tar.bz2 kernel_replicant_linux-d4abb6e141051445cd469a0bc9bb40b7cd37904f.zip |
media: TDA1997x: enable EDID support
[ Upstream commit ea3e1c36e38810427485f06c2becc1f29e54521d ]
Without this patch, the TDA19971 chip's EDID is inactive.
EDID never worked with this driver, it was all tested with HDMI signal
sources which don't need EDID support.
Signed-off-by: Krzysztof Halasa <khalasa@piap.pl>
Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver")
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>
Diffstat (limited to 'drivers/media/i2c/tda1997x.c')
-rw-r--r-- | drivers/media/i2c/tda1997x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/tda1997x.c b/drivers/media/i2c/tda1997x.c index 89bb7e6dc7a4..9554c8348c02 100644 --- a/drivers/media/i2c/tda1997x.c +++ b/drivers/media/i2c/tda1997x.c @@ -2233,6 +2233,7 @@ static int tda1997x_core_init(struct v4l2_subdev *sd) /* get initial HDMI status */ state->hdmi_status = io_read(sd, REG_HDMI_FLAGS); + io_write(sd, REG_EDID_ENABLE, EDID_ENABLE_A_EN | EDID_ENABLE_B_EN); return 0; } |