On Mon, 21 Sep 2020 13:08:41 +0300, Kai Vehmanen wrote: > To provide backward compatibility to older systems, the SOF HDA driver > allows user to specify which HDMI codec driver to use at runtime via > kernel parameter. This mechanism has a subtle flaw in that it assumes > the codec drivers not to be loaded when the SOF PCI driver is loaded. > > The problem is rooted in use of the hdev->type field. > snd_hdac_ext_bus_device_init() initializes this field to HDA_DEV_ASOC. > This signals the HDA core that ASoC drivers should be considered in > driver matching (hda_bus_match()). The SOF and SST drivers continue by > overriding this field to HDA_DEV_LEGACY and proceeding to load driver > modules with request_module(). Correct drivers will get loaded and > attached. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: hdac: make SOF HDA codec driver probe deterministic commit: 163cd1059a85d225b811ddb4192fabd1553f77f1 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark