diff options
author | Neha Malcom Francis <n-francis@ti.com> | 2023-10-16 15:46:07 +0530 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2023-10-16 11:38:17 -0500 |
commit | 3aeb0d3694e16b5066db82aa1152884f2e6aace0 (patch) | |
tree | f9564cd6673fa836d5cd0a7ef7d370ef34efd8b9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8dec342ead710dace27dc82096144bf7a1011827 (diff) |
soc: ti: k3-socinfo: Avoid overriding return value
Avoid overriding the return value and make sure the right error code
is reflected. If the part is none of the identified list present in
k3_soc_ids[], return -ENODEV.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Link: https://lore.kernel.org/r/20231016101608.993921-3-n-francis@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions