Re: [PATCH] media: ir-rc5-decoder: improve responsiveness by 100ms to 250ms

2013-04-17 Thread Stephane Chauveau
@@ static void ir_do_keyup(struct rc_dev *d if (!dev->keypressed) return; +printk( KERN_INFO "KEYUP\n"); IR_dprintk(1, "keyup key 0x%04x\n", dev->last_keycode); input_report_key(dev->input_dev, dev->last_keycode, 0); if (sync) On 04/

Re: [PATCH] media: ir-rc5-decoder: improve responsiveness by 100ms to 250ms

2013-04-17 Thread Stephane Chauveau
o a blank of RC5_UP_DELAY ns after the last pulse shall be + * enough to assume that the message is not repeated. + */ + if (ev.duration > RC5_UP_DELAY) +rc_keyup(dev) ; + data->state = STATE_INACTIVE; return 0; } Signed-off-by: Stephane Ch

[PATCH] media: ir-rc5-decoder: improve responsiveness by 100ms to 250ms

2013-04-17 Thread Stephane Chauveau
r the last pulse shall be + * enough to assume that the message is not repeated. + */ +if (ev.duration > RC5_UP_DELAY) +rc_keyup(dev) ; + data->state = STATE_INACTIVE; return 0; } Signed-off-by: Stephane Chauveau -- To unsubscribe from t

patch to make drivers/media/rc/ir-rc5-decoder more responsive

2013-04-09 Thread Stephane Chauveau
E_FINISHED: +if (ev.pulse) +break; + +/* The message is repeated RC5_UP_DELAY ns after the 1st pulse + * so a blank of RC5_UP_DELAY ns after the last pulse shall be + * enough to assume that the message is not repeated. + */ + if (ev.duration

patch to make drivers/media/rc/ir-rc5-decoder more responsive

2013-04-09 Thread Stephane Chauveau
E_FINISHED: +if (ev.pulse) +break; + +/* The message is repeated RC5_UP_DELAY ns after the 1st pulse + * so a blank of RC5_UP_DELAY ns after the last pulse shall be + * enough to assume that the message is not repeated. + */ + if (ev.duration