summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/soundwire
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-05-22 14:47:31 -0500
committerVinod Koul <vkoul@kernel.org>2019-05-27 10:53:00 +0530
commit432732b801c82b139f8ca72e3b284fb999ac40d2 (patch)
tree5f3f8fdf396bb9fdfaeead11617a3f472fc71506 /Documentation/driver-api/soundwire
parent27f14331a7d434ff860b3d23c2379cf1fb814a3c (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/soundwire')
0 files changed, 0 insertions, 0 deletions