commit | d572df18cc387c6df5acf81a727e5b6afdc49b8a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Feb 14 16:28:59 2016 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Feb 15 20:58:25 2016 +0000 |
tree | e0496900329c5484620aa09de598e2efbc575c33 | |
parent | 41bfe43cce5b3d74b632c161309c13e2b8bcb479 [diff] |
gpio: Correct handling of 'gpio status' This is broken - we need to look at the first two characters to distinguish 'gpio status' from 'gpio set'. Fixes: 0ffe6ab5 (gpio: Allow 's' as an abbreviation for 'status') Reported-by: Soeren Moch <smoch@web.de> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Soeren Moch <smoch@web.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>