Skip to content

Commit

Permalink
Merged sdcard code, thanks to RovG from http://wiki.cyanogenmod.org/w…
Browse files Browse the repository at this point in the history
  • Loading branch information
computoncio committed Sep 26, 2014
1 parent 42bc729 commit 0b4be86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/core/mmc.c
Expand Up @@ -131,6 +131,7 @@ static int mmc_decode_cid(struct mmc_card *card)
card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8);
card->cid.prod_name[5] = UNSTUFF_BITS(resp, 56, 8);
card->cid.prod_rev = UNSTUFF_BITS(resp, 48, 8);
card->cid.fwrev = card->cid.prod_rev; /* duplicates cid.prod_rev */
card->cid.serial = UNSTUFF_BITS(resp, 16, 32);
card->cid.month = UNSTUFF_BITS(resp, 12, 4);
card->cid.year = UNSTUFF_BITS(resp, 8, 4) + 1997;
Expand Down

0 comments on commit 0b4be86

Please sign in to comment.