]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cec: add proper support for CDC-Only CEC devices
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 2 Nov 2016 09:41:41 +0000 (07:41 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 17:36:03 +0000 (15:36 -0200)
commit27cdeec1f37f54f3ae9af5835a5d52ef6a502466
tree4c3610eea028d8f79d3e5b6139ad2e7d2bd97776
parenteb1f6fd5774ebf6890b6fc07ef5dcea8f3ead3dc
[media] cec: add proper support for CDC-Only CEC devices

CDC-Only CEC devices are CEC devices that can only handle CDC messages,
all other messages are ignored.

Add a flag to signal that this is a CDC-Only device and act accordingly.

Also add helper functions to identify if a CEC device is configured as a
CDC-Only device, a second TV, a switch or a processor, since these variations
cannot be determined by the logical address alone.

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