]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cec: ignore messages that we initiated
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 Nov 2016 15:15:45 +0000 (13:15 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 07:43:07 +0000 (05:43 -0200)
commitab977facc5660eabcf70cd9f24a59ff9c4ef1b82
treeae45d8ad944a54e94dd8fd1990c120f8e81fd56d
parentcfd06022ecd2ef24ff9af293c8193004623b0526
[media] cec: ignore messages that we initiated

Some CEC adapters will receive messages that they initiated. Add a
check that will ignore such messages.

Most hardware behaves correctly in this respect, but I have seen
adapters that don't, so just filter this out in the framework.

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