• Jarod Wilson's avatar
    [media] mceusb: set a default rx timeout · 501aaa11
    Jarod Wilson authored
    Its possible for the call to read rx timeout from the hardware to fail,
    in which case we end up with a bogus rx timeout value. Set a default one
    when filling in the rc struct, and we'll just overwrite it later w/the
    value from hardware, but if that read fails, we've at least got a sane
    rx timeout value to work with (1000ms is the default value I've seen
    returned on most if not all mceusb hardware).
    Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    501aaa11
mceusb.c 37.3 KB