mmc: core: Fix comparison issue in mmc_compare_ext_csds
authorJurgen Heeks <jurgen.heeks@nokia.com>
Wed, 1 Feb 2012 12:30:55 +0000 (13:30 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 14 Feb 2012 01:39:02 +0000 (20:39 -0500)
commitdd13b4ed4650bb3a7d6c86b549ab66a6aa0c00d8
treee9f3de8df407802bf1a6cd58ef6d461d100b6320
parent3e73c36b4dc224529d0b0c0d5d69c0dacd793c42
mmc: core: Fix comparison issue in mmc_compare_ext_csds

Found this issue during code review. Actually, there are two issues which
both compensate together in lucky case.  In unlucky case the bus width
probing might not work as expected.

Signed-off-by: Jurgen Heeks <jurgen.heeks@nokia.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c