mmc: dw_mmc: fix the CardThreshold boundary at CardThrCtl register
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 6 Nov 2015 03:39:39 +0000 (11:39 +0800)
committerShawn Lin <shawn.lin@rock-chips.com>
Fri, 6 Nov 2015 03:40:30 +0000 (11:40 +0800)
commit60f8440c9b1926df44abe1aa07e82db7110bcaaa
tree196f21ae5bf1a667163029cc71588936136e8047
parentf09cbe4c1325c154fe507d647c329aeb9915892d
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).

Change-Id: I184fff75e6e72624a22cdfc6b0ffcc236ffb07c2
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>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/mmc/host/rk_sdmmc.h