diff options
author | Pierre-Louis Bossart | 2019-05-22 14:47:31 -0500 |
---|---|---|
committer | Vinod Koul | 2019-05-27 10:53:00 +0530 |
commit | 432732b801c82b139f8ca72e3b284fb999ac40d2 (patch) | |
tree | 5f3f8fdf396bb9fdfaeead11617a3f472fc71506 /Documentation/driver-api | |
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 <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions