Messages in this thread | | | From | David Brownell <> | Subject | Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR | Date | Mon, 8 Sep 2008 12:18:49 -0700 |
| |
On Monday 08 September 2008, Matt Fleming wrote: > Currently, the MMC/SD over SPI code has a hard-coded timeout value of > 250ms on writes and 100ms on reads. This is correct for SDHC cards > and is specified in the spec, but it is not correct for MMC/SD cards. > > For MMC cards the values that are read from the CSR should be used. > For SD cards the values from the CSR should be used as long as they > do not exceed 250ms for writes and 100ms for reads. > > Signed-off-by: Matthew Fleming <matthew.fleming@imgtec.com>
OK by me. I was viewing those values as ceilings, such that waiting too long wouldn't much matter. If there are cases where the CSR values are larger, they clearly should trump.
| |