diff options
author | Yong Ding <yongd@marvell.com> | 2012-05-15 13:09:43 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-06-06 09:22:53 -0400 |
commit | 2a0fe914a38745f5b03534c4e4f4056cbd6978b8 (patch) | |
tree | b341420c0fc9a3eaf0c62a431d495ff67742e5a0 /mm/highmem.c | |
parent | 693e5e2025278d90e1427f037e5ec8ea1ec7d5c4 (diff) | |
download | blackbird-op-linux-2a0fe914a38745f5b03534c4e4f4056cbd6978b8.tar.gz blackbird-op-linux-2a0fe914a38745f5b03534c4e4f4056cbd6978b8.zip |
mmc: sdio: fix setting card data bus width as 4-bit
SDIO_CCCR_IF[1:0] in SDIO card is used for card data bus width
setting as below:
00b: 1-bit bus
01b: Reserved
10b: 4-bit bus
11b: 8-bit bus (only for embedded SDIO)
And sdio_enable_wide is for setting data bus width as 4-bit.
But currently, it first reads the register, second OR' 1b with
SDIO_CCCR_IF[1], and then writes it back.
As we can see, this is based on such assumption that the
SDIO_CCCR_IF[0] is always 0. Apparently, this is not right.
Signed-off-by: Yong Ding <yongd@marvell.com>
Acked-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions