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

From: Nish Aravamudan
Date: Sun Sep 04 2005 - 18:43:51 EST


On 9/4/05, Johannes Stezenbach <js@xxxxxxxxxxx> wrote:
> From: Oliver Endriss <o.endriss@xxxxxx>
>
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/