mmc: sdhci: add adma_table_cnt member to struct sdhci_host
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Tue, 28 Aug 2018 09:46:35 +0000 (17:46 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commite93be38af15524a43437b23b01bcfe9cb789f4e3
tree5120015c9f2f0bc8f3154677bf51efd34da5375b
parent1ff537bd5d7b7d608d61cadae28224202781ba5b
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>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h