public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc-util: Fix typo in comment in do_enh_area_set()
@ 2013-09-26 11:52 Jongman Heo
  0 siblings, 0 replies; only message in thread
From: Jongman Heo @ 2013-09-26 11:52 UTC (permalink / raw)
  To: linux-mmc@vger.kernel.org; +Cc: 허종만


ERASE_GROUP_DEF bit is set to 1, so make the comment consistent with the code

Signed-off-by: Jongman Heo <jongman.heo@samsung.com>
---
 mmc_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mmc_cmds.c b/mmc_cmds.c
index b8afa74..4d10f35 100644
--- a/mmc_cmds.c
+++ b/mmc_cmds.c
@@ -548,7 +548,7 @@ int do_enh_area_set(int nargs, char **argv)
 	enh_start_addr /= align;
 	enh_start_addr *= align;
 
-	/* set EXT_CSD_ERASE_GROUP_DEF bit 0 */
+	/* set EXT_CSD_ERASE_GROUP_DEF bit 1 */
 	ret = write_extcsd_value(fd, EXT_CSD_ERASE_GROUP_DEF, 0x1);
 	if (ret) {
 		fprintf(stderr, "Could not write 0x1 to "
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-26 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 11:52 [PATCH] mmc-util: Fix typo in comment in do_enh_area_set() Jongman Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox