]> git.baikalelectronics.ru Git - kernel.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)
commit4e31402a9fb97ac808e3b83641d554561a961164
tree55f6ce3728ba917d154f60d41a5461925b2c43d3
parentd57e7238e33e34755d859aa542647c1df9cbc925
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