Re: [-mm patch 5/5] SharpSL: Add new ARM PXA machines Spitz and Borzoi with partial Akita Support

From: Nish Aravamudan
Date: Tue Sep 06 2005 - 11:23:22 EST


On 9/6/05, Richard Purdie <rpurdie@xxxxxxxxx> wrote:
> Add the platform support code for two new Sharp Zaurus Models, Spitz
> (SL-C3000) and Borzoi (SL-C3100).
>
> This patch also adds most of the foundations for Akita (SL-C1000)
> Support. The missing link for Akita is the driver for its I2C io
> expander. Once this has been finished, the missing Kconfig option and
> machine declaration can easily be added to this code.

<snip>

===================================================================
> --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> +++ linux-2.6.13/arch/arm/mach-pxa/spitz.c 2005-09-06 00:18:59.000000000 +0100
> +/*
> + * MMC/SD Device
> + *
> + * The card detect interrupt isn't debounced so we delay it by HZ/4
> + * to give the card a chance to fully insert/eject.
> + */

<snip>

> +static irqreturn_t spitz_mmc_detect_int(int irq, void *devid, struct pt_regs *regs)
> +{
> + mmc_detect.devid=devid;
> + mod_timer(&mmc_detect.detect_timer, jiffies + HZ/4);

Can this be:

mod_timer(&mmc_detect.detect_timer, jiffies + msecs_to_jiffies(250));

?

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/