mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
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>
This commit is contained in:
parent
c337104b1a
commit
d82b51c855
3 changed files with 62 additions and 18 deletions
|
@ -98,6 +98,12 @@ enum {
|
|||
HDA_DEV_ASOC,
|
||||
};
|
||||
|
||||
enum {
|
||||
SND_SKL_PCI_BIND_AUTO, /* automatic selection based on pci class */
|
||||
SND_SKL_PCI_BIND_LEGACY,/* bind only with legacy driver */
|
||||
SND_SKL_PCI_BIND_ASOC /* bind only with ASoC driver */
|
||||
};
|
||||
|
||||
/* direction */
|
||||
enum {
|
||||
HDA_INPUT, HDA_OUTPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue