]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:12:45 +0000 (09:12 -0700)
commit78360919e519a7ffcd4bdfab1f0610dead54b00b
tree223c950c9bb301bcf2949b912d2b66fdf358e1b7
parent4a1ccbffd953416ba7efce318f1e803f90275772
adv7511: TX_EDID_PRESENT is still 1 after a disconnect

commit b339a72e04a62f0b1882c43492fc712f1176b3e6 upstream.

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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/adv7511.c