]> git.baikalelectronics.ru Git - uboot.git/commit
cmd_mmc: fix arg parsing for setdsr subcmd
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Fri, 3 Feb 2017 14:26:36 +0000 (15:26 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Apr 2017 16:46:38 +0000 (18:46 +0200)
commitfa35dde09225aa7cc7ed2342aa99d11a734dd0cb
tree700a3559f6f818a7d5738c60114dde14f5a2ca54
parentfb8d07747e4c6e0fdeb5b4c1788a42049e315d76
cmd_mmc: fix arg parsing for setdsr subcmd

The handler do_setdsr receives only the dsr parameter,
the action is parsed before.

Error was introduced when restructuring the mmc command
implementation in commit 1fd93c6e7d8a1e4d6261058cefab11b875ded252.

Reported-by: Michael Krummsdorf <Michael.Krummsdorf@tq-group.com>
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
cmd/mmc.c