]> 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)
commite4a73662be2683430676c7e6965c48ab9e18afe5
treee9f3de8df407802bf1a6cd58ef6d461d100b6320
parentc0dfd5fcc10fd46a3adeca270d2dc40523388587
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