media: cec: add core support for low-level CEC pin monitoring
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 11 Jul 2017 06:30:41 +0000 (03:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Jul 2017 15:55:38 +0000 (12:55 -0300)
commitb8d62f50b1df2571afcf47107bbbe9cd60f8aafd
treeb4b95eddddecdcdc902b3bb64470b65e9b6044f4
parentfdb8c88e9213f9d87bbfe56724e20cfd9ff8ef9d
media: cec: add core support for low-level CEC pin monitoring

Add support for the new MONITOR_PIN mode.

Add the cec_pin_event function that the CEC pin code will call to queue pin
change events.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c
drivers/media/cec/cec-api.c
include/media/cec.h