• Hans Verkuil's avatar
    [media] cec: add HDMI CEC framework (adapter) · 9881fe0c
    Hans Verkuil authored
    The added HDMI CEC framework provides a generic kernel interface for
    HDMI CEC devices.
    
    Note that the CEC framework is added to staging/media and that the
    cec.h and cec-funcs.h headers are not exported yet. While the kABI
    is mature, I would prefer to allow the uABI some more time before
    it is mainlined in case it needs more tweaks.
    
    This adds the cec-adap.c source that deals with the low-level CEC
    messaging and logical address handling.
    Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
    [k.debski@samsung.com: change kthread handling when setting logical address]
    [k.debski@samsung.com: code cleanup and fixes]
    [k.debski@samsung.com: add possibility to clear assigned logical addresses]
    Signed-off-by: default avatarKamil Debski <kamil@wypas.org>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    9881fe0c
cec-adap.c 45.1 KB