提交 4be5eab6 编写于 作者: K Krzysztof Hałasa 提交者: Zheng Zengkai

media: TDA1997x: enable EDID support

stable inclusion
from stable-5.10.65
commit d4abb6e141051445cd469a0bc9bb40b7cd37904f
bugzilla: 182361 https://gitee.com/openeuler/kernel/issues/I4EH3U

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d4abb6e141051445cd469a0bc9bb40b7cd37904f

--------------------------------

[ Upstream commit ea3e1c36 ]

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: NKrzysztof Halasa <khalasa@piap.pl>
Fixes: 9ac0038d ("media: i2c: Add TDA1997x HDMI receiver driver")
Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 83849930
...@@ -2233,6 +2233,7 @@ static int tda1997x_core_init(struct v4l2_subdev *sd) ...@@ -2233,6 +2233,7 @@ static int tda1997x_core_init(struct v4l2_subdev *sd)
/* get initial HDMI status */ /* get initial HDMI status */
state->hdmi_status = io_read(sd, REG_HDMI_FLAGS); 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; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册