diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2012-11-18 22:48:17 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-20 06:21:13 -0500 |
commit | 014483932b3f0dbecbb01da38de45b2c7a53cdfd (patch) | |
tree | 44af1d6d85af5c247dd60f578471f310ba11c906 | |
parent | ffd8a6e7a77802dd09559be78dea63956aa8f1d5 (diff) |
mmc: rtsx: Remove a duplicate command in sd_rw_multi
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mmc/host/rtsx_pci_sdmmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c index 12eff6f8cab7..0e934bf51309 100644 --- a/drivers/mmc/host/rtsx_pci_sdmmc.c +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c | |||
@@ -382,8 +382,6 @@ static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq) | |||
382 | 0xFF, (u8)data->blocks); | 382 | 0xFF, (u8)data->blocks); |
383 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BLOCK_CNT_H, | 383 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BLOCK_CNT_H, |
384 | 0xFF, (u8)(data->blocks >> 8)); | 384 | 0xFF, (u8)(data->blocks >> 8)); |
385 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, | ||
386 | CARD_DATA_SOURCE, 0x01, RING_BUFFER); | ||
387 | 385 | ||
388 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, IRQSTAT0, | 386 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, IRQSTAT0, |
389 | DMA_DONE_INT, DMA_DONE_INT); | 387 | DMA_DONE_INT, DMA_DONE_INT); |