]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cros-ec-cec: use cec_notifier_cec_adap_(un)register
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 15 Jul 2019 10:04:30 +0000 (06:04 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 23 Jul 2019 12:37:38 +0000 (08:37 -0400)
commite6777689406545611d1bda4f716a56a3961bc7f8
tree55f6ce3728ba917d154f60d41a5461925b2c43d3
parent20958f9d5c48bf1606cdd7f00d0c1c6cd653b758
media: cros-ec-cec: use cec_notifier_cec_adap_(un)register

Use cec_notifier_cec_adap_(un)register instead of
cec_notifier_get_conn, cec_notifier_put and cec_register_cec_notifier.

Also enable the CEC_CAP_CONNECTOR_INFO capability.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/cros-ec-cec/cros-ec-cec.c