[media] mceusb: set a default rx timeout

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: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Jarod Wilson and committed by Mauro Carvalho Chehab 501aaa11 d8cc7fd7

+1
+1
drivers/media/IR/mceusb.c
··· 1073 1073 props->priv = ir; 1074 1074 props->driver_type = RC_DRIVER_IR_RAW; 1075 1075 props->allowed_protos = IR_TYPE_ALL; 1076 + props->timeout = MS_TO_NS(1000); 1076 1077 if (!ir->flags.no_tx) { 1077 1078 props->s_tx_mask = mceusb_set_tx_mask; 1078 1079 props->s_tx_carrier = mceusb_set_tx_carrier;