]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: cec: Respond to unregistered initiators, when applicable
authorJose Abreu <Jose.Abreu@synopsys.com>
Thu, 14 Sep 2017 15:23:38 +0000 (11:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2017 08:39:12 +0000 (10:39 +0200)
commitc2c3a6a57a9502ea57298a1b4e7d4dd7b73dd57a
tree70d04a5df6126dcc61cefce86ed142708feffb7c
parent3e3705c989aa0c6be6e4a6092aea8fe325b3e2da
media: cec: Respond to unregistered initiators, when applicable

commit 845d6524d69b40bd6abd61dc1264a8657159aa55 upstream.

Running CEC 1.4 compliance test we get the following error on test
11.1.6.2: "ERROR: The DUT did not broadcast a
<Report Physical Address> message to the unregistered device."

Fix this by letting GIVE_PHYSICAL_ADDR message respond to unregistered
device. Also, GIVE_DEVICE_VENDOR_ID and GIVE_FEATURES fall in the
same category so, respond also to these messages.

With this fix we pass CEC 1.4 official compliance.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/cec/cec-adap.c