mmc: rtsx: Remove a duplicate command in sd_rw_multi
authorWei WANG <wei_wang@realsil.com.cn>
Mon, 19 Nov 2012 03:48:17 +0000 (11:48 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 20 Nov 2012 11:21:13 +0000 (12:21 +0100)
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mmc/host/rtsx_pci_sdmmc.c

index 12eff6f8cab759285f5b5722e746433962d213da..0e934bf5130970fe3c7a165a765b78a721edc0be 100644 (file)
@@ -382,8 +382,6 @@ static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq)
                        0xFF, (u8)data->blocks);
        rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BLOCK_CNT_H,
                        0xFF, (u8)(data->blocks >> 8));
-       rtsx_pci_add_cmd(pcr, WRITE_REG_CMD,
-                       CARD_DATA_SOURCE, 0x01, RING_BUFFER);
 
        rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, IRQSTAT0,
                        DMA_DONE_INT, DMA_DONE_INT);