commit | 66292ad92c6d3f2f1c137a1c826b331ca8595dfd | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Wed Mar 28 12:28:33 2012 +0200 |
committer | Chris Ball <cjb@laptop.org> | Thu Apr 05 20:32:21 2012 -0400 |
tree | 8ddf84d30f17269a6ec4eed880b5db1491883e23 | |
parent | 9f4e8151dbbc4ca4d5dd7792666a50c137102204 [diff] |
mmc: atmel-mci: correct data timeout computation The HSMCI operates at a rate of up to Master Clock divided by two. Moreover previous calculation can cause overflows and so wrong timeouts. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Chris Ball <cjb@laptop.org>