aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware/firmware-zynqmp.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2023-06-01 13:21:07 +0200
committerMichal Simek <michal.simek@amd.com>2023-06-12 13:25:02 +0200
commit04cc6f0a53a64c9ea3645c8538a27c8ceded1a6c (patch)
tree81c070b7961415fc5aa1137f4e87f7185033500f /drivers/firmware/firmware-zynqmp.c
parent322c0da86aa8ba72dd5cbcd83db60d4d3d8af4de (diff)
arm64: zynqmp: Fix command error values properly
Process errors from command via cmd_process_error() as is done on Versal. When internal function returns different number then CMD_RET_SUCCESS(0), CMD_RET_FAILURE(1) or CMD_RET_USAGE(-1) shell react on these errors by throwing an error like "exit not allowed from main input shell." that's why use cmd_process_error() to make sure that error code is all the time correct. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/d511935ba10daf95c70996fae6e6ffc374efffa0.1685618464.git.michal.simek@amd.com
Diffstat (limited to 'drivers/firmware/firmware-zynqmp.c')
0 files changed, 0 insertions, 0 deletions