ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
authorLibin Yang <libin.yang@intel.com>
Tue, 21 Dec 2021 01:08:17 +0000 (09:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 11:42:33 +0000 (12:42 +0100)
commit919f5678bae1f3ce630b970eccfd11f32a772ede
tree69f1236cec259f4e07b629c22ec99b38df80c7e1
parentcce476954401e3421afafb25bbaa926050688b1d
ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2

[ Upstream commit 78ea40efb48e978756db2ce45fcfa55bac056b91 ]

In the HDAS ACPI scope, the SoundWire may not be the direct child of HDAS.
It needs to go through the ACPI table at max depth of 2 to find the
SoundWire device from HDAS.

Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20211221010817.23636-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/hda/intel-sdw-acpi.c