summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-12-29 05:22:50 -0700
committerSimon Glass <sjg@chromium.org>2016-01-20 19:06:22 -0700
commit4fbd258e69373a60cdf24c9a64065b486f8748c9 (patch)
tree5067e1b3a84ce4696d0e24840bb50222c7266765 /drivers/pinctrl
parent4a1db6d8ab4d5e4565bda079710a028ada12ddbe (diff)
downloadu-boot-imx-4fbd258e69373a60cdf24c9a64065b486f8748c9.zip
u-boot-imx-4fbd258e69373a60cdf24c9a64065b486f8748c9.tar.gz
u-boot-imx-4fbd258e69373a60cdf24c9a64065b486f8748c9.tar.bz2
i2c: Correct command return values
We should not return a -ve error code from command functions. Instead, return CMD_RET_FAILURE. This avoids the "exit not allowed from main input shell" error messages from the hush shell. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions