diff options
author | Dong Aisheng <b29396@freescale.com> | 2013-10-18 19:48:44 +0800 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2013-10-21 15:58:03 -0400 |
commit | 6b4fb6712a4c58b205c163e9080c349d71c208d0 (patch) | |
tree | fa1a5e3eefb4ce2a6f4b48076e58f32ad5d63433 /drivers/mmc/host/sdhci.c | |
parent | 6e9fd28e1f2422e8e5ad3c9871c952aad6a7e5ca (diff) | |
download | lwn-6b4fb6712a4c58b205c163e9080c349d71c208d0.tar.gz lwn-6b4fb6712a4c58b205c163e9080c349d71c208d0.zip |
mmc: sdhci-esdhc-imx: fix reading cap_1 register value for mx6sl
When reading CAP_1 register for mx6sl, ignore bit[0-15] as it stores
CAP_2 register value which is new introduced in mx6sl.
Without this fix, the max clock for mx6sl may not be correct since
it's wrongly calculated by reading CAP_1 register.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
0 files changed, 0 insertions, 0 deletions