mmc_spi: generate response for send status command
authorThomas Chou <thomas@wytron.com.tw>
Tue, 19 Apr 2011 03:48:32 +0000 (03:48 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 18 May 2011 19:30:34 +0000 (14:30 -0500)
commited018b21d61614e0431f6bf514bec6e4bf64fe31
tree846bc03655befabcbc79c0b95baf2d205c6d5ad1
parent0ea91423f47461bf7eaed2d4aff198076dd07fd5
mmc_spi: generate response for send status command

A "send status" command is added with the commit "mmc: checking
status after commands with R1b response". But the status register
returned from send status command of SPI protocol is different from
that of MMC/SD protocol. We do a simple test and generate a response
in stead of full bit-by-bit translation.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
drivers/mmc/mmc_spi.c
include/mmc.h