MMC: fix bug - SDHC card capacity not correct
PATCH 1/1 MMC: fix bug - SDHC card capacity not correct
From: Yi Li <[email protected]>
Signed-off-by Yi Li <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/mmc/card/block.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/card/block.c +1 -1
@@ -584,7 +584,7 @@ static int mmc_blk_probe(struct mmc_card *card)if (err) goto out; -string_get_size (get_capacity (md->disk) <<9 ,STRING_UNITS_2 , +string_get_size ((u64 )get_capacity (md->disk) <<9 ,STRING_UNITS_2 , cap_str,sizeof (cap_str)); printk(KERN_INFO "%s: %s %s %s %s\n", md->disk->disk_name, mmc_card_id(card), mmc_card_name(card),
Signature · 1 line
1.5.6.3
Pierre Ossman
AppliedQuoted 5 lines · On Thu, 5 Feb 2009 15:31:57 +0800 Bryan Wu <[email protected]> wrote:
From: Yi Li <[email protected]>
Signed-off-by Yi Li <[email protected]>Signed-off-by Bryan Wu <[email protected]>---
Queued, thanks.
Signature · 9 lines
-- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.