aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/intel.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-05-22 14:47:17 -0500
committerVinod Koul <vkoul@kernel.org>2019-05-27 10:52:59 +0530
commit6f11586f4896ee448262747788a0a3faf0fe9066 (patch)
tree036194ff109f3f73ee09c6f746eeea4bf36b9bfb /drivers/soundwire/intel.h
parentsoundwire: cdns: Fix compilation error on arm64 (diff)
downloadlinux-dev-6f11586f4896ee448262747788a0a3faf0fe9066.tar.xz
linux-dev-6f11586f4896ee448262747788a0a3faf0fe9066.zip
soundwire: intel: filter SoundWire controller device search
The convention is that the SoundWire controller device is a child of the HDAudio controller. However there can be more than one child exposed in the DSDT table, and the current namespace walk returns the last (incorrect) device. Intel documentation states that bits 28..31 of the _ADR field represent the link type, with SoundWire assigned the value 4. Add a filter and terminate early when a valid _ADR is provided, otherwise keep iterating to find the next child. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.h')
0 files changed, 0 insertions, 0 deletions