diff options
| author | Jay Buddhabhatti <jay.buddhabhatti@amd.com> | 2026-07-24 02:53:52 -0700 |
|---|---|---|
| committer | Michal Simek <michal.simek@amd.com> | 2026-08-10 09:30:44 +0200 |
| commit | 5b8c4b238b02db7af65f349a9d677c2dd60359ac (patch) | |
| tree | b8c0d3044f7bc156afa321b66e3844e2cc5f36b1 /tools/lib/python | |
| parent | 1689ca12dd78d61fd2663da795197d820a9d7c48 (diff) | |
firmware: xilinx: Propagate actual error from feature check
When do_fw_call() fails in __do_feature_check_call(), propagate the
actual errno from zynqmp_pm_ret_code() instead of always returning
-EOPNOTSUPP. This gives callers more precise error information. Existing
callers only test ret < 0 and are unchanged by this.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com>
Link: https://patch.msgid.link/20260724095352.2890326-3-jay.buddhabhatti@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
