Commit 3aeb0d36 authored by Neha Malcom Francis's avatar Neha Malcom Francis Committed by Nishanth Menon
Browse files

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: default avatarNeha Malcom Francis <n-francis@ti.com>
Link: https://lore.kernel.org/r/20231016101608.993921-3-n-francis@ti.com


Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 8dec342e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment