diff options
author | Pierre-Louis Bossart <[email protected]> | 2019-05-22 14:47:31 -0500 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-05-27 10:53:00 +0530 |
commit | 432732b801c82b139f8ca72e3b284fb999ac40d2 (patch) | |
tree | 5f3f8fdf396bb9fdfaeead11617a3f472fc71506 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 27f14331a7d434ff860b3d23c2379cf1fb814a3c (diff) |
soundwire: intel_init: add checks on link numbers
Add mask to correctly read the SoundWire SHIM LCAP register. Only bits
2..0 are meaningful, the rest is about link synchronization and stream
channel mapping. Without this mask, the hardware information would
always be larger than whatever the BIOS would report.
Also trap the case with zero links.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions