Re: [PATCH] Fixes and enhancements for the MMC SPI driver

From: Matt Fleming
Date: Tue Jan 06 2009 - 11:10:24 EST


On Tue, Jan 06, 2009 at 03:17:01PM +0100, Wolfgang M??es wrote:
> +
> + /* The MMC framework does a good job of computing timeouts
> + according to the mmc/sd standard. However, we found that in
> + SPI mode, there are many cards which need a longer timeout
> + of 1s after receiving a long stream of write data. */
> + struct timeval tv = ktime_to_timeval(timeout);
> + if (tv.tv_sec == 0)
> + timeout = ktime_set(1,0);
>

Which cards are you having issues with?

Modifying the code to no longer abide by the standard doesn't seem like a
win to me.
--
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/