diff options
Diffstat (limited to 'drivers/mmc/mmc.c')
| -rw-r--r-- | drivers/mmc/mmc.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 7e703c0ec..391bc2baf 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -115,7 +115,8 @@ int mmc_send_status(struct mmc *mmc, int timeout)  	cmd.cmdidx = MMC_CMD_SEND_STATUS;  	cmd.resp_type = MMC_RSP_R1; -	cmd.cmdarg = 0; +	if (!mmc_host_is_spi(mmc)) +		cmd.cmdarg = mmc->rca << 16;  	cmd.flags = 0;  	do { |