]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: dw_mmc: add the card write threshold for HS400 mode
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 21 Jun 2016 05:35:38 +0000 (14:35 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:30 +0000 (10:34 +0200)
commit7e4bf1bc9543a1760cd93f0e23325e7b0365b30a
tree61408c99323fae3b8be11c12a1b348da1ac8c5e9
parent16a34574c6ca12bb8fd73ae034acd5b536d3cdaa
mmc: dw_mmc: add the card write threshold for HS400 mode

Since v2.80a, dwmmc controller introduced the card write threshold for
HS400 mode. So CardThrCtl can be supported during write operation, not
only read operation.
(Note: Only use the write threshold when mode is HS400.)

To use more compatible, removed "_rd_" from function name.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h