Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matt Fleming
Date: Tuesday, September 9, 2008 - 2:42 am

2008/9/9 Matt Fleming <mattjfleming@googlemail.com>:

The stack trace where this check is needed is here,

mmc_get_timeout()
mmc_spi_readblock()
mmc_spi_request()
mmc_wait_for_req()
mmc_send_cxd_data()
mmc_send_csd()
mmc_attach_sd()

Maybe it would be a good idea to move the line at
drivers/mmc/core/mmc.c:447 up before the call to mmc_send_csd()? Then
it'd probably be possible to remove that !host->mmc->card check from
mmc_get_timeout().
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR, Matt Fleming, (Tue Sep 9, 2:42 am)