Skip to content

Commit

Permalink
Merge pull request torvalds#213 in PROCESSOR-SDK/processor-sdk-linux …
Browse files Browse the repository at this point in the history
…from LCPD-17698 to processor-sdk-linux-4.19.y

* commit 'e6e9ba91987ab0303c84308faa05bfbbe509299a':
  HACK: mmc: sdhci_am654: Disable command queuing for AM65x
  • Loading branch information
Jacob Stiffler committed Jan 2, 2020
2 parents 13a1554 + e6e9ba9 commit 77dfab5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions drivers/mmc/host/sdhci_am654.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ static int sdhci_am654_init(struct sdhci_host *host)
{
struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host);
struct device *dev = mmc_dev(host->mmc);
u32 ctl_cfg_2 = 0;
u32 mask;
u32 val;
Expand Down Expand Up @@ -504,10 +505,11 @@ static int sdhci_am654_init(struct sdhci_host *host)
ret = sdhci_am654_get_otap_delay(host, sdhci_am654);
if (ret)
goto err_cleanup_host;

ret = sdhci_am654_cqe_add_host(host);
if (ret)
goto err_cleanup_host;
if (!of_device_is_compatible(dev->of_node, "ti,am654-sdhci-5.1")) {
ret = sdhci_am654_cqe_add_host(host);
if (ret)
goto err_cleanup_host;
}

ret = __sdhci_add_host(host);
if (ret)
Expand Down

0 comments on commit 77dfab5

Please sign in to comment.