]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: HD-Audio: SKL+: force HDaudio legacy or SKL+ driver selection
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sat, 15 Dec 2018 20:07:23 +0000 (14:07 -0600)
committerTakashi Iwai <tiwai@suse.de>
Wed, 19 Dec 2018 17:07:23 +0000 (18:07 +0100)
commitfe7636664a372b8e7ffa9a2ea9eb330c397c2a6a
tree491a82c06705c4abd988479132f82f71701dd53d
parent783a9390e2ce8afa6ccdedbf204dc2cb889bfed8
ALSA: HD-Audio: SKL+: force HDaudio legacy or SKL+ driver selection

For HDaudio and Skylake drivers, add module parameter "pci_binding"

When pci_binding == 0 (AUTO), the PCI class/subclass info is used to
select drivers based on the presence of the DSP.

pci_binding == 1 (LEGACY) forces the use of the HDAudio legacy driver,
even if the DSP is present.

pci_binding == 2 (ASOC) forces the use of the ASOC driver. The
information on the DSP presence is bypassed.

The value for the module parameter needs to be identical for both
drivers. This parameter is intended as a back-up solution if the
automatic detection fails or when the DSP usage fails. Such cases
should be reported on the alsa-devel mailing list for analysis.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/pci/hda/hda_intel.c
sound/soc/intel/skylake/skl.c