]> git.baikalelectronics.ru Git - kernel.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)
commit79e6bdd8f3ac5bf72147719bfcc478fe74149cb7
tree61408c99323fae3b8be11c12a1b348da1ac8c5e9
parentbf3d146de5e73a2ea65c584446ab527c998b9655
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