aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2021-04-01 10:24:54 +0100
committerVinod Koul <[email protected]>2021-04-06 10:23:59 +0530
commit9916c02ccd74e672b62dd1a9017ac2f237ebf512 (patch)
treed10be825c090603cc30d62ac92cc0ada5eaa27f8 /tools/perf/scripts/python/export-to-sqlite.py
parenta661308c34de8cbd22165edf63dbd24ccb914981 (diff)
soundwire: qcom: cleanup internal port config indexing
Internally used portconfig array for storing port bandwidth params starts from offset zero. However port zero is not really used and we also copy the bus parameters to offset zero. So basically we endup with a code which has to subtract 1 from port number to get to port parameters. This is bit confusing to the reader so, make this bit more obvious by only copying the parameters to offset 1 instead of zero. This will avoid doing -1 every time when we try to get port params. Similar thing has been recently done with din/dout_port_mask. Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions