mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
ASoC: SOF: Intel: lnl: Enable offload for UAOL link
The handling of UAOL (USB Audio Offload Link) is similar to SSP and DMIC, it is handled by the DSP firmware. Set the offload enable for it similar to SSP and DMIC. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://patch.msgid.link/20260520150639.25301-3-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
978152b2ca
commit
fdfbd9ff86
@@ -20,11 +20,12 @@
|
||||
#include "lnl.h"
|
||||
#include <sound/hda-mlink.h>
|
||||
|
||||
/* Configure DSP offload for DMIC/SSP */
|
||||
/* Configure DSP offload for DMIC/SSP/UAOL */
|
||||
static void hdac_bus_set_dsp_offload(struct hdac_bus *bus, bool enable)
|
||||
{
|
||||
hdac_bus_eml_enable_offload(bus, true, AZX_REG_ML_LEPTR_ID_INTEL_SSP, enable);
|
||||
hdac_bus_eml_enable_offload(bus, true, AZX_REG_ML_LEPTR_ID_INTEL_DMIC, enable);
|
||||
hdac_bus_eml_enable_offload(bus, true, AZX_REG_ML_LEPTR_ID_INTEL_UAOL, enable);
|
||||
}
|
||||
|
||||
static int lnl_hda_dsp_probe(struct snd_sof_dev *sdev)
|
||||
|
||||
Reference in New Issue
Block a user