diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2023-05-23 14:42:10 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-06-12 13:25:01 +0200 |
commit | ee3c02af77178133b1f4e0446bba58f6ce0888e0 (patch) | |
tree | e5d68797b21a4bc593136f496b490c33ce0572c3 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c | |
parent | 999ac2c37ae12df4e889a968056d409c55d38cd7 (diff) |
firmware: zynqmp: Remove extraordinary return value
Return a common -EACCES error value instead of a positive private error
value XST_PM_NO_ACCESS (2002) in zynqmp_pmufw_load_config_object
function if the config object is not loadable to simplify the error
checking.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Link: https://lore.kernel.org/r/20230523124215.30915-1-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c')
0 files changed, 0 insertions, 0 deletions