]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
mmc: sunxi: Re-enable eMMC HS-DDR modes on Allwinner A80
authorChen-Yu Tsai <wens@csie.org>
Sun, 29 May 2016 07:04:44 +0000 (15:04 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 2 Jun 2016 08:40:20 +0000 (10:40 +0200)
Now the the HS-DDR mode clock timings have been corrected, we can
re-enable these modes on the A80.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c

index 5873dc344ab21da99aa4c51b8f9223e2d8536278..2ee4c21ec55eec871c13aadaaad5bb5f9903a581 100644 (file)
@@ -1129,11 +1129,6 @@ static int sunxi_mmc_probe(struct platform_device *pdev)
                                  MMC_CAP_1_8V_DDR |
                                  MMC_CAP_ERASE | MMC_CAP_SDIO_IRQ;
 
-       /* TODO MMC DDR is not working on A80 */
-       if (of_device_is_compatible(pdev->dev.of_node,
-                                   "allwinner,sun9i-a80-mmc"))
-               mmc->caps &= ~MMC_CAP_1_8V_DDR;
-
        ret = mmc_of_parse(mmc);
        if (ret)
                goto error_free_dma;