]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: add autodetection for SoundWire
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 9 Apr 2020 19:02:51 +0000 (14:02 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 11 Apr 2020 10:39:32 +0000 (12:39 +0200)
commit51e7258c762b41dba7ab6066a25e1c2be807b5c4
tree18a9b81bdd267be929eb6d36d951dff60d443d2b
parentf75feba28ce36c9d5ed5735ed9b5925baf62376e
ALSA: hda: add autodetection for SoundWire

When an ACPI companion device is present and the SoundWire link mask
information is available, use SoundWire instead of legacy HDA or
Skylake drivers.

The SOF driver is selected when SoundWire or DMIC are detected. There
is no precedence at this level. In the SOF driver proper, SoundWire
will be handled first since it is mutually exclusive with HDaudio.

Known devices with an existing DMI quirk bypass this detection to
avoid any dependency on ACPI/DSDT tables.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200409190251.16569-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/intel-dsp-config.c