• Hans Verkuil's avatar
    media: cec: add xfer_timeout_ms field · dad272bd
    Hans Verkuil authored
    Allow drivers to change the transmit timeout value, i.e. after how
    long should a transmit be considered 'lost', i.e. the corresponding
    cec_transmit_done_ts was never called.
    
    Some CEC devices have their own timeout, and so this timeout value must be
    longer than that hardware timeout value. If it is shorter then the
    framework would consider the transmit lost, even though it is effectively
    still in progress at the hardware level.
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
    dad272bd
cec-core.c 11.7 KB