diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2018-08-28 11:46:35 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-10-08 11:40:43 +0200 |
commit | e93be38af15524a43437b23b01bcfe9cb789f4e3 (patch) | |
tree | 5120015c9f2f0bc8f3154677bf51efd34da5375b /drivers/mmc/host/sdhci.h | |
parent | mmc: Convert to using %pOFn instead of device_node.name (diff) | |
download | linux-e93be38af15524a43437b23b01bcfe9cb789f4e3.tar.xz linux-e93be38af15524a43437b23b01bcfe9cb789f4e3.zip |
mmc: sdhci: add adma_table_cnt member to struct sdhci_host
This patch adds adma_table_cnt member to struct sdhci_host to give more
flexibility to drivers to control the ADMA table count.
Default value of adma_table_cnt is set to (SDHCI_MAX_SEGS * 2 + 1).
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 732d82f17d91..f088f002ce0b 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -564,6 +564,9 @@ struct sdhci_host { /* Host SDMA buffer boundary. */ u32 sdma_boundary; + /* Host ADMA table count */ + u32 adma_table_cnt; + u64 data_timeout; unsigned long private[0] ____cacheline_aligned; |