Re: [PATCH] mmc: at91_mci: fix hanging and rework to match flowcharts

From: Marc Pignat
Date: Mon Jul 02 2007 - 08:46:23 EST


On Monday 02 July 2007 14:16, Nicolas Ferre wrote:
> Fixes hanging using multi block operations (seen during CMD25).
> Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
Verified working on at91rm9200 using 1 wire mode.

A small remark, only for future improvements:
> @@ -817,7 +834,11 @@ static int __init at91_mci_probe(struct
>
> mmc->ops = &at91_mci_ops;
> mmc->f_min = 375000;
> - mmc->f_max = 25000000;
> + if (cpu_is_at91sam9263())
> + mmc->f_max = 50000000;
> + else
> + mmc->f_max = 25000000;
for at91rm9200 f_max is MCK/2 why don't use it?

Nice work, thanks

Regards

Marc
-
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/