]> asedeno.scripts.mit.edu Git - linux.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)
commitd82b51c855a20eb456ac09f2f40ea98312373263
tree491a82c06705c4abd988479132f82f71701dd53d
parentc337104b1a16becc486fdc95d544c835b17021db
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