]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cec: initiator should be the same as the destination for, poll
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 11 Feb 2017 11:24:46 +0000 (09:24 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 13 Feb 2017 16:34:11 +0000 (14:34 -0200)
commitac101add9351ee0dcf1cdf37047a4a4477d067a2
tree052c2e9a999ba2ffec5257d0c79ff6bcfecf5f36
parenteed9a381bc6eea92db22813a2da782ffcbdf27e3
[media] cec: initiator should be the same as the destination for, poll

Poll messages that are used to allocate a logical address should
use the same initiator as the destination. Instead, it expected that
the initiator was 0xf which is not according to the standard.

This also had consequences for the message checks in cec_transmit_msg_fh
that incorrectly rejected poll messages with the same initiator and
destination.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c