mmc: core: ext_csd.raw_* used in comparison but never set
authorAndrei Warkentin <andrey.warkentin@gmail.com>
Sat, 24 Sep 2011 16:12:30 +0000 (12:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:35:23 +0000 (09:35 -0800)
commitc359836591a99d43c5e4c6792de75dcaddee805e
tree5cdf9adae84abc871a14b25d7ef3a7fb19c1310f
parent311c3c10f6429f4405be6a0e98cb27c6995ca8b9
mmc: core: ext_csd.raw_* used in comparison but never set

commit 5238acbe36dd5100fb6b035a995ae5fc89dd0708 upstream.

f39b2dd9d ("mmc: core: Bus width testing needs to handle suspend/resume")
added code to only compare read-only ext_csd fields in bus width testing
code, yet it's comparing some fields that are never set.

The affected fields are ext_csd.raw_erased_mem_count and
ext_csd.raw_partition_support.

Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Acked-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/core/mmc.c