[PATCH v5 1/2] ASoC: cs35l41: CS35L41 Boosted Smart Amplifier

David Rhodes drhodes at opensource.cirrus.com
Fri Sep 3 01:40:32 CEST 2021


On 8/16/21 6:41 PM, Pierre-Louis Bossart wrote:
> 
> Is the ACPI probe smart enough to deal with two different drivers
> registering for the *same* HID?
> 
> I haven't seen any precedent, e.g. the RT6777 uses a different ACPI HID
> for its I2C and SPI modes.
> 
> 

I2C and SPI buses, when they are looking for a driver with an ID that 
matches a device declared in ACPI, will iterate over drivers that belong 
to the bus only (bus_for_each_drv()). It is not possible for an I2C 
driver to be matched during SPI device enumeration or vice versa.

Thanks,
David


More information about the Alsa-devel mailing list