commit | 3edbd8fd8e46490d7fe3d9cb6dc83164eca14681 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Apr 24 14:19:46 2013 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Wed Apr 24 14:22:27 2013 -0700 |
tree | 77224aa84582ad1fc16709c3395590c1a22bee5b | |
parent | e896b8f9351bfd694ddc41664b6781463ed7de4e [diff] |
mmc: sdhci-msm: Read version register properly The version register is only 16 bits wide but we use a readl to read it. Normally this wouldn't be a problem, but the register offset is 0xfe, something that is not word aligned. This causes crashes on THUMB2 kernels. Use readw instead to read the register properly and avoid any alignment issues. Change-Id: I3b8b14ce2f741631ef7554e3763d1d7f145077a8 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>