relation between mmc_request, mmc_data and mmc_command
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · On Sun, 23 Dec 2007 23:25:26 -0800 "raki john" <[email protected]> wrote:
Does
mmc_requeest->stopis equal tommc_request->data->stop?Does
mmc_requestis equal tommc_request->data->mrq?Does
mmc_request->datais equal tommc_request->cmd->data?Does
mmc_requestis equal tommc_request->cmd->mrq?
Yes on all accounts. I don't know the reason for this extreme redundancy. It was there long before I got involved.
Quoted 5 lines
I think Stop command which is part of
mmc_requestis used for sending stop command after Multi Block write. is this correct. If stop commandfails(CRC fail, timeout), does this mean card write failed.
It is correct that it is used for multi block writes. But also other open ended transfers.
If the stop command fails, then the card will be in an unknown state. The write should have been completed though.
Rgds
Pierre