diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-04-19 15:15:25 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-04-23 13:15:32 +0200 |
commit | ebc675b98d92f7b8264ca84e65cc896d95f9868b (patch) | |
tree | 4efa0d9f6e36beca918e2ec609636b5b657632d2 /configs/dms-ba16-1g_defconfig | |
parent | 811c7bdebe7bc5ffd7709169b105d3d9edb47f30 (diff) | |
download | u-boot-ebc675b98d92f7b8264ca84e65cc896d95f9868b.tar.gz u-boot-ebc675b98d92f7b8264ca84e65cc896d95f9868b.tar.xz u-boot-ebc675b98d92f7b8264ca84e65cc896d95f9868b.zip |
cmd: clk: Check return value from soc_clk_dump
In case of error in soc_clk_dump function are returned different values
then CMD return values (-1, 0, 1).
For example:
ZynqMP> clk dump
exit not allowed from main input shel
The patch is checking all negative return values and return
CMD_RET_FAILURE which is proper reaction for these cases.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'configs/dms-ba16-1g_defconfig')
0 files changed, 0 insertions, 0 deletions