1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00
Files
u-boot-megous/cmd
Alex Kiernan 4af2a33ee5 cmd: gpio: Make gpio input return pin value again
4dbc107f46 ("cmd: gpio: Correct do_gpio() return value") correctly
changed the behaviour of the gpio command to return CMD_RET_SUCCESS or
CMD_RET_FAILURE, but any existing script which expects the return value
to be the pin value is broken by this change.

Reinstate the legacy behaviour for `gpio input` only.

Fixes: 4dbc107f46 ("cmd: gpio: Correct do_gpio() return value")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alex.kiernan@hivehome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-03-13 09:30:30 -04:00
..
2019-04-22 12:06:39 -04:00
2019-04-22 12:06:39 -04:00
2019-12-15 11:44:19 +08:00
2019-07-24 13:16:29 -04:00
2020-02-04 09:07:24 +05:30
2020-01-10 14:18:26 -05:00
2020-01-17 10:15:49 -05:00
2019-10-31 07:22:53 -04:00
2020-01-07 11:13:26 -05:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-22 00:10:09 +02:00
2018-12-04 19:44:57 +01:00
2019-02-19 08:55:43 -05:00
2020-01-07 14:37:50 +01:00
2020-02-07 13:59:58 -05:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 19:27:41 -04:00
2019-06-21 10:07:11 -04:00
2019-08-11 16:43:41 -04:00
2020-02-04 09:07:24 +05:30
2019-08-11 16:43:41 -04:00
2019-05-04 19:26:49 +02:00
2019-09-04 11:37:19 -05:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-12-04 17:10:51 -05:00
2020-01-17 14:02:35 -05:00
2020-01-27 22:27:21 +05:30
2019-08-11 16:43:41 -04:00
2019-10-11 15:33:27 -04:00
2020-01-21 15:56:15 +01:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2019-08-11 16:43:41 -04:00
2019-10-23 20:47:12 -04:00
2019-08-11 16:43:41 -04:00
2019-04-12 07:04:18 +02:00
2020-01-23 07:29:58 -05:00
2019-08-11 16:43:41 -04:00