]> 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)
commit8b777b9893fd7b6cb69a88fac46ac4e3592857dc
tree052c2e9a999ba2ffec5257d0c79ff6bcfecf5f36
parent5e2967ca993450e9202558901c16a9dbd4f20368
[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