[PATCH 1/2] mceusb: Timeout unit corrections

2011-07-03 Thread Rafi Rubin
Unit missmatch in mceusb_handle_command. It should be converting to us, not 1/10th of ms. mceusb_dev_printdata 100us/ms -> 1000us/ms Signed-off-by: Rafi Rubin --- Fixing the interpretation of the timeout corrects buggy behavior, particularly when using a mceusb reciever in lirc mode

[PATCH 2/2] mceusb: increase default timeout to 100ms

2011-07-03 Thread Rafi Rubin
Signed-off-by: Rafi Rubin --- This changes the default to something a little more sane. I have one mceusb device that currently does not respond properly to the initial polling and is left using the default timeout. 1ms does not work well. I propose changing the default to 100ms to match the