mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ASoC: Intel: avs: Enable by default for all SST configurations
The skylake-driver is deprecated in favour of the avs-driver. As the latter supports all configurations of its predecessor and more, update the existing selection mechanism to acknowledge the SST flag. Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20240814083929.1217319-15-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a882f4d750
commit
526139aff1
@ -422,8 +422,14 @@ static int avs_pci_probe(struct pci_dev *pci, const struct pci_device_id *id)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = snd_intel_dsp_driver_probe(pci);
|
ret = snd_intel_dsp_driver_probe(pci);
|
||||||
if (ret != SND_INTEL_DSP_DRIVER_ANY && ret != SND_INTEL_DSP_DRIVER_AVS)
|
switch (ret) {
|
||||||
|
case SND_INTEL_DSP_DRIVER_ANY:
|
||||||
|
case SND_INTEL_DSP_DRIVER_SST:
|
||||||
|
case SND_INTEL_DSP_DRIVER_AVS:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
}
|
||||||
|
|
||||||
ret = pcim_enable_device(pci);
|
ret = pcim_enable_device(pci);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user