Message ID | 20180307132020.30951-3-kishon@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/03/18 15:20, Kishon Vijay Abraham I wrote: > sdhci can directly get ADMA capability from MMCHS_CAPA register. > Remove explicitly setting ADMA here as some instances might not have > ADMA enabled. (sdhci_read_caps() is also removed from here since > sdhci_setup_host() invokes it). > > Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> > --- > drivers/mmc/host/sdhci-omap.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c > index 3cce30584d2f..0c40b13fb67d 100644 > --- a/drivers/mmc/host/sdhci-omap.c > +++ b/drivers/mmc/host/sdhci-omap.c > @@ -923,9 +923,6 @@ static int sdhci_omap_probe(struct platform_device *pdev) > host->mmc_host_ops.card_busy = sdhci_omap_card_busy; > host->mmc_host_ops.execute_tuning = sdhci_omap_execute_tuning; > > - sdhci_read_caps(host); > - host->caps |= SDHCI_CAN_DO_ADMA2; > - > ret = sdhci_setup_host(host); > if (ret) > goto err_put_sync; > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 3cce30584d2f..0c40b13fb67d 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -923,9 +923,6 @@ static int sdhci_omap_probe(struct platform_device *pdev) host->mmc_host_ops.card_busy = sdhci_omap_card_busy; host->mmc_host_ops.execute_tuning = sdhci_omap_execute_tuning; - sdhci_read_caps(host); - host->caps |= SDHCI_CAN_DO_ADMA2; - ret = sdhci_setup_host(host); if (ret) goto err_put_sync;
sdhci can directly get ADMA capability from MMCHS_CAPA register. Remove explicitly setting ADMA here as some instances might not have ADMA enabled. (sdhci_read_caps() is also removed from here since sdhci_setup_host() invokes it). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- drivers/mmc/host/sdhci-omap.c | 3 --- 1 file changed, 3 deletions(-)