]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita732334136e2440c0e4036c3c9bd876cb18f46d2
treee9f3de8df407802bf1a6cd58ef6d461d100b6320
parente43687f4ab82083b25702ba4a5816973461f47c6
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