]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: dw_mmc: fix the CardThreshold boundary at CardThrCtl register
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 21 Oct 2015 10:49:41 +0000 (19:49 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 29 Oct 2015 10:00:37 +0000 (11:00 +0100)
commit98daafd8a09d9a514bc2166709731d659037003b
tree107ee7c8ff5649e13e193a5606c13a5c4e9f9be9
parent4539d36ef2bbf2ee1519e7cfb51c6fdddda3e4e6
mmc: dw_mmc: fix the CardThreshold boundary at CardThrCtl register

According to DesignWare DoC file, CardThreshold bit should be
bit[27:16].
So it's correct to use (0xFFF << 16), not (0x1FFF << 16).

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.h