aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-04-16 17:06:45 -0700
committerBjorn Andersson <[email protected]>2020-04-19 23:06:29 -0700
commit704887278b3fb6e72ef767e56fbae4129e567c48 (patch)
tree9df1370ee0861855d1e2b1389bfeab0aff45ded3 /lib/mpi/mpi-internal.h
parent3adaf26e7b01691eeee4086b7ac70c7750ff126e (diff)
soc: qcom: cmd-db: Properly endian swap the slv_id for debugfs
Read the slv_id properly by making sure the 16-bit number is endian swapped from little endian to CPU native before we read it to figure out what to print for the human readable name. Otherwise we may just show that all the elements in the cmd-db are "Unknown" which isn't right. Reviewed-by: Guenter Roeck <[email protected]> Reported-by: kbuild test robot <[email protected]> Cc: Lina Iyer <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions