From: J Freyensee <james_p_freyensee@linux.intel.com>
To: Seungwon Jeon <tgih.jun@samsung.com>
Cc: linux-mmc@vger.kernel.org, cjb@laptop.org,
linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
dh.han@samsung.com
Subject: Re: [PATCH] mmc: core: Fix the incorrect calculation for erase unit size.
Date: Thu, 08 Sep 2011 13:27:49 -0700 [thread overview]
Message-ID: <4E692545.9050707@linux.intel.com> (raw)
In-Reply-To: <1315461565-16009-1-git-send-email-tgih.jun@samsung.com>
On 09/07/2011 10:59 PM, Seungwon Jeon wrote:
> Erase unit size of high capacity is multiple of 512KiB not 1024KiB.
I'm just wondering, what are these patches based off of? I have not
been able to connect to anything hosted by kernel.org since I came back
from vacation due to the security breach on kernel.org.
>
> Signed-off-by: Seungwon Jeon<tgih.jun@samsung.com>
> ---
> 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 b148bb1..7991ecf 100644
> --- a/drivers/mmc/core/mmc.c
> +++ b/drivers/mmc/core/mmc.c
> @@ -332,7 +332,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
> card->ext_csd.hc_erase_timeout = 300 *
> ext_csd[EXT_CSD_ERASE_TIMEOUT_MULT];
> card->ext_csd.hc_erase_size =
> - ext_csd[EXT_CSD_HC_ERASE_GRP_SIZE]<< 10;
> + ext_csd[EXT_CSD_HC_ERASE_GRP_SIZE]<< 9;
>
> card->ext_csd.rel_sectors = ext_csd[EXT_CSD_REL_WR_SEC_C];
>
> --
> 1.7.0.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation
next prev parent reply other threads:[~2011-09-08 20:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 5:59 [PATCH] mmc: core: Fix the incorrect calculation for erase unit size Seungwon Jeon
2011-09-08 6:39 ` Kyungmin Park
2011-09-08 13:19 ` Chris Ball
2011-09-14 2:27 ` Seungwon Jeon
2011-09-14 2:29 ` Chris Ball
2011-09-14 3:50 ` Seungwon Jeon
2011-09-08 20:27 ` J Freyensee [this message]
2011-09-11 17:32 ` ajh mls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E692545.9050707@linux.intel.com \
--to=james_p_freyensee@linux.intel.com \
--cc=cjb@laptop.org \
--cc=dh.han@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=tgih.jun@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox