diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-14 07:35:51 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 13:54:44 -0500 |
commit | 5f1a4dd0372038f2490afa4540cd66b8d092839e (patch) | |
tree | b639556787904877e9c237d42fb69cc36350280f /drivers/mmc/core | |
parent | d6ed91aff64891fb4f0e9557d9b1734a9e8410a7 (diff) |
mmc: Standardise capability type
There are discrepancies with regards to how MMC capabilities
are carried throughout the subsystem. Let's standardise them
to eliminate any confusion.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 7cc46382fd64..8c2fa8002abb 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c | |||
@@ -239,7 +239,7 @@ static void mmc_select_card_type(struct mmc_card *card) | |||
239 | { | 239 | { |
240 | struct mmc_host *host = card->host; | 240 | struct mmc_host *host = card->host; |
241 | u8 card_type = card->ext_csd.raw_card_type & EXT_CSD_CARD_TYPE_MASK; | 241 | u8 card_type = card->ext_csd.raw_card_type & EXT_CSD_CARD_TYPE_MASK; |
242 | unsigned int caps = host->caps, caps2 = host->caps2; | 242 | u32 caps = host->caps, caps2 = host->caps2; |
243 | unsigned int hs_max_dtr = 0; | 243 | unsigned int hs_max_dtr = 0; |
244 | 244 | ||
245 | if (card_type & EXT_CSD_CARD_TYPE_26) | 245 | if (card_type & EXT_CSD_CARD_TYPE_26) |