]> git.baikalelectronics.ru Git - kernel.git/commit
[media] adv7511: TX_EDID_PRESENT is still 1 after a disconnect
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 10 Feb 2016 11:32:25 +0000 (09:32 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 10:10:33 +0000 (08:10 -0200)
commita3b2d3c0a3ee459b1a35746892d70dc5f69ddb1b
treee163c515333b74c880e649da5dd775f1a7702e9d
parent157f55b47ba3d01bf0eec4f24ee873379993dfdf
[media] adv7511: TX_EDID_PRESENT is still 1 after a disconnect

The V4L2_CID_TX_EDID_PRESENT control reports if an EDID is present.
The adv7511 however still reported the EDID present after disconnecting
the HDMI cable. Fix the logic regarding this control. And when the EDID
is disconnected also call ADV7511_EDID_DETECT to notify the bridge driver.
This was also missing.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v3.12 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7511.c