diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mmc.c b/cmd/mmc.c index b8dcc26eef0..f83032ec457 100644 --- a/cmd/mmc.c +++ b/cmd/mmc.c @@ -710,7 +710,7 @@ static int do_mmc_setdsr(cmd_tbl_t *cmdtp, int flag, if (argc != 2) return CMD_RET_USAGE; - val = simple_strtoul(argv[2], NULL, 16); + val = simple_strtoul(argv[1], NULL, 16); mmc = find_mmc_device(curr_device); if (!mmc) { |