summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/atmel-mci.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@yahoo.com>2013-04-04 21:18:11 +0200
committerChris Ball <cjb@laptop.org>2013-04-04 21:33:29 +0200
commit836dc2fe89c968c10cada87e0dfae6626f8f9da3 (patch)
treeb25f5a5237c2e56c7ccd5887e245dfd4a0dd3d79 /drivers/mmc/host/atmel-mci.c
parentmmc: dw_mmc: Use pr_info instead of printk (diff)
downloadlinux-836dc2fe89c968c10cada87e0dfae6626f8f9da3.tar.xz
linux-836dc2fe89c968c10cada87e0dfae6626f8f9da3.zip
mmc: core: Fix bit width test failing on old eMMC cards
PARTITION_SUPPORT needs to be set before doing the compare on version number so the bit width test does not get invalid data. Before this patch, a Sandisk iNAND eMMC card would detect 1-bit width although the hardware supports 4-bit. Only affects old emmc devices - pre 4.4 devices. Reported-by: Elad Yi <elad.yi@gmail.com> Signed-off-by: Philip Rakity <prakity@yahoo.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/atmel-mci.c')
0 files changed, 0 insertions, 0 deletions