lkml.org 
[lkml]   [2019]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH V7 2/2] mmc: tegra: HW Command Queue Support for Tegra SDMMC
Date
>> +static int sdhci_tegra_add_host(struct sdhci_host *host) {
>> + struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
>> + struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host);
>> + struct cqhci_host *cq_host;
>> + bool dma64;
>> + int ret;
>> +
>> + if (!tegra_host->enable_hwcq)
>> + return sdhci_add_host(host);
>> +
>> + host->v4_mode = true;
>
>Can you use sdhci_enable_v4_mode() here?

Hi Adrian,
sdhci_read_caps sets v4 mode thru sdhci_do_enable_v4_mode if v4_mode is true
sdhci_setup_host calls sdhci_read_caps so I was setting v4_mode to true so v4 mode gets enabled during read caps.

Thanks
sowjanya

\
 
 \ /
  Last update: 2019-01-11 01:35    [W:0.073 / U:45.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site