mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
d6ed91aff6
commit
5f1a4dd037
5 changed files with 9 additions and 9 deletions
|
|
@ -239,7 +239,7 @@ static void mmc_select_card_type(struct mmc_card *card)
|
|||
{
|
||||
struct mmc_host *host = card->host;
|
||||
u8 card_type = card->ext_csd.raw_card_type & EXT_CSD_CARD_TYPE_MASK;
|
||||
unsigned int caps = host->caps, caps2 = host->caps2;
|
||||
u32 caps = host->caps, caps2 = host->caps2;
|
||||
unsigned int hs_max_dtr = 0;
|
||||
|
||||
if (card_type & EXT_CSD_CARD_TYPE_26)
|
||||
|
|
|
|||
Loading…
Reference in a new issue