aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRobert Marko <[email protected]>2023-05-26 22:48:00 +0200
committerBjorn Andersson <[email protected]>2023-05-26 18:18:57 -0700
commit17051d2c3cd696439adb900e9af547ba162fb982 (patch)
tree66bfd6f37164016278cb05255b4c0bf6448e18d1 /lib/mpi/mpi-sub-ui.c
parent10615007483b6938da9df290fe5bf460f6a07c60 (diff)
soc: qcom: smem: introduce qcom_smem_get_soc_id()
Introduce a helper to return the SoC SMEM ID, which is used to identify the exact SoC model as there may be differences in the same SoC family. Currently, cpufreq-nvmem does this completely in the driver and there has been more interest expresed for other drivers to use this information so lets expose a common helper to prevent redoing it in individual drivers since this field is present on every SMEM table version. Signed-off-by: Robert Marko <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions