]> 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)
commit8129e6e7c9c7dd28a7507b6739d2c6864baf7f33
tree491a82c06705c4abd988479132f82f71701dd53d
parent1ee16d38115c0068ef3cd398d07e9fd734a6e224
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