mmc: dw_mmc: fixed wrong bit operation for SDMMC_GET_FCNT()
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 5 Jan 2012 10:12:57 +0000 (19:12 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 20:17:15 +0000 (15:17 -0500)
commitee5d19b20a711dca3848450979e3cd20b6b795cc
treeaa00b7c437235a663c5dfd3570ec1c5f2fee67f9
parent8bc0678b845531221ba2ea6efe34db66e587705b
mmc: dw_mmc: fixed wrong bit operation for SDMMC_GET_FCNT()

In status register, fifo_count is bit[29:17].
(0x1FFF is correct)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.h