Revert "mmc: rk_sdmmc: manually zero desc after allocated on ARM64 platform."
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 25 May 2015 02:50:47 +0000 (10:50 +0800)
committerShawn Lin <shawn.lin@rock-chips.com>
Mon, 25 May 2015 02:50:47 +0000 (10:50 +0800)
This reverts commit e68d16d33646fabf36e782b300404f112eb94d1d.

drivers/mmc/host/rk_sdmmc.c

index 3a78760a01d88a04ec7502244c8acc1e59d1399b..1b20b431275e05dfa08c582f6851650dd0351ba2 100755 (executable)
@@ -3831,9 +3831,6 @@ static void dw_mci_init_dma(struct dw_mci *host)
                        __func__);
                goto no_dma;
        }
-       #ifdef CONFIG_ARM64
-       memset(host->sg_cpu, 0, PAGE_SIZE);
-       #endif
 
        /* Determine which DMA interface to use */
 #if defined(CONFIG_MMC_DW_IDMAC)