]> git.karo-electronics.de Git - linux-beck.git/commit
[media] cec: don't Feature Abort broadcast msgs when unregistered
authorHans Verkuil <hansverk@cisco.com>
Wed, 24 Aug 2016 08:36:53 +0000 (05:36 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:38:18 +0000 (10:38 -0300)
commita179b69359feb26ddb148bb6a2c0c53a8d1dc5be
tree982a92c875aa6264c1ec0d27b72318c7456bb51a
parent19d6837a52f1683cf448265952d559a44a7df924
[media] cec: don't Feature Abort broadcast msgs when unregistered

If the adapter is configured as 'Unregistered', then cec_receive_notify
incorrectly thinks that broadcast messages are directed messages. The
destination for broadcast messages is 0xf, and the logical address
assigned to Unregistered devices is also 0xf and the logic didn't handle
that correctly.

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