[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)
commit42980da2eb7eb9695d8efc0c0ef145cbbb993b2c
tree052c2e9a999ba2ffec5257d0c79ff6bcfecf5f36
parent35879ee4769099905fa3bda0b21e73d434e2df6a
[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