• Hans Verkuil's avatar
    media: cec-notifier: add new notifier functions · b48cb35c
    Hans Verkuil authored
    In order to support multiple CEC devices for an HDMI connector,
    and to support cec_connector_info, drivers should use either a
    cec_notifier_conn_(un)register pair of functions (HDMI drivers)
    or a cec_notifier_cec_adap_(un)register pair (CEC adapter drivers).
    
    This replaces cec_notifier_get_conn/cec_notifier_put.
    
    For CEC adapters it is also no longer needed to call cec_notifier_register,
    cec_register_cec_notifier and cec_notifier_unregister. This is now
    all handled internally by the new functions.
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    b48cb35c
cec-notifier.c 5.86 KB