soc/intel/tigerlake: Make audio devices scan the bus
The audio devices are currently set to enable static devices at their own level, but in order to supported nested SoundWire devices these drivers must instead use scan_static_bus. Without this change the device tree code will not look at children of these devices. After this change the audio device can have nested devices: device pci 1f.3 on chip drivers/intel/soundwire device generic 0 on end end end BUG=b:146482091 Signed-off-by: Duncan Laurie <dlaurie@google.com> Change-Id: Ibb716fbd9ffdc45f2c4bbe5e81f420ec2b13483c Reviewed-on: https://review.coreboot.org/c/coreboot/+/40886 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
08a942fd32
commit
10f55a2c9d
|
@ -9,7 +9,7 @@ static struct device_operations dsp_dev_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.ops_pci = &pci_dev_ops_pci,
|
||||
.scan_bus = enable_static_devices,
|
||||
.scan_bus = scan_static_bus,
|
||||
};
|
||||
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
|
|
|
@ -54,7 +54,7 @@ static struct device_operations hda_ops = {
|
|||
.init = hda_init,
|
||||
#endif
|
||||
.ops_pci = &pci_dev_ops_pci,
|
||||
.scan_bus = enable_static_devices,
|
||||
.scan_bus = scan_static_bus
|
||||
};
|
||||
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
|
|
Loading…
Reference in New Issue