Re: [DVB patch 51/54] ttpci: av7110: RC5+ remote control support

Nish Aravamudan
2005-09-04T23:43:00Z

On 9/4/05, Johannes Stezenbach <js@linuxtv.org> wrote:
> From: Oliver Endriss <o.endriss@gmx.de>
>
> Improved remote control support for av7110-based cards:
> o extended rc5 protocol, firmware >= 0x2620 required
> o key-up timer slightly adjusted
> o completely moved remote control code to av7110_ir.c
> o support for multiple ir receivers
> o for now, all av7110 cards share the same ir configuration and event device

<snip>

> --- linux-2.6.13-git4.orig/drivers/media/dvb/ttpci/av7110_ir.c 2005-09-04 22:03:40.000000000 +0200
> +++ linux-2.6.13-git4/drivers/media/dvb/ttpci/av7110_ir.c 2005-09-04 22:31:00.000000000 +0200
> @@ -7,16 +7,16 @@
> #include <asm/bitops.h>
>
> #include "av7110.h"
> +#include "av7110_hw.h"
>
> -#define UP_TIMEOUT (HZ/4)
> +#define UP_TIMEOUT (HZ*7/25)

<snip>

Should this be

#define UP_TIMEOUT msecs_to_jiffies(280)

or

#define UP_TIMEOUT (7*msecs_to_jiffies(40)

?

Thanks,
Nish