media: adv7842: when the EDID is cleared, unconfigure CEC as well
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 4 Oct 2018 07:58:34 +0000 (03:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:08:54 +0000 (11:08 -0800)
commit6529dcce7920c1ac69c124c92147db2d4f73136e
treee0493d6ff34dcf4ca5ba02038cc66ee828e8aac5
parent3e383b31b30327db3b76d9546fdbf8d0c3880a0f
media: adv7842: when the EDID is cleared, unconfigure CEC as well

commit ab83203e181015b099720aff43ffabc1812e0fb3 upstream.

When there is no EDID the CEC adapter should be unconfigured as
well. So call cec_phys_addr_invalidate() when this happens.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.18 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/adv7842.c