summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorSeungwon Jeon <tgih.jun@samsung.com>2013-08-31 00:13:42 +0900
committerChris Ball <cjb@laptop.org>2013-09-25 21:34:18 -0400
commit524268990e54dab9bd71a984b70c13ce0eb1c525 (patch)
tree52d312fc3b56492a6e4e7558aa09bef609523a69 /include/linux/mmc
parent1f44a2a55787faa08a50266fa5dc99f0dcd36b7c (diff)
downloadlinux-524268990e54dab9bd71a984b70c13ce0eb1c525.tar.gz
linux-524268990e54dab9bd71a984b70c13ce0eb1c525.tar.bz2
linux-524268990e54dab9bd71a984b70c13ce0eb1c525.zip
mmc: dw_mmc: adjust the fifoth with block size
This change helps to choose msize, rx_watermark and tx_watermark depending on block size for IDMAC mode. For SDIO block size can be variable, so if these values are set incorrectly, card clock may stop. Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Tested-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/dw_mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h
index 198f0fa44e9f..4ec9dcc9460e 100644
--- a/include/linux/mmc/dw_mmc.h
+++ b/include/linux/mmc/dw_mmc.h
@@ -129,6 +129,7 @@ struct dw_mci {
struct mmc_request *mrq;
struct mmc_command *cmd;
struct mmc_data *data;
+ unsigned int prev_blksz;
struct workqueue_struct *card_workqueue;
/* DMA interface members*/