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

commit e7da89926f6dc6cf855f5ffdf79ef99a1b115ca7 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/adv7604.c