diff options
author | Philip Rakity <prakity@yahoo.com> | 2013-04-04 20:18:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-07 20:33:15 -0700 |
commit | f730f28bae56a56e2ec46ba3eb41bbddd4af57b5 (patch) | |
tree | 24783cade1c2957a5a2b40958557feb22de4b464 /lib/mpi/mpiutil.c | |
parent | 00cd3d291eb32b75b43fa945a5bce1357e03d58d (diff) |
mmc: core: Fix bit width test failing on old eMMC cards
commit 836dc2fe89c968c10cada87e0dfae6626f8f9da3 upstream.
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>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions