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)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:16 +0000 (16:32 -0400)
commit5238acbe36dd5100fb6b035a995ae5fc89dd0708
tree066f71287fab49f24047e7a96721197a96ecdacd
parentd9618e9f1a057efdfc52514d6cd7af56e9bddc17
mmc: core: ext_csd.raw_* used in comparison but never set

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>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c