Re: [PATCH stable 6.18.y backport] ASoC: SOF: Intel: lnl: Enable offload for UAOL link

From: Sasha Levin

Date: Fri Nov 27 2026 - 12:03:06 EST


> - return 0;
> + return hdac_bus_eml_enable_offload(bus, true,
> + AZX_REG_ML_LEPTR_ID_INTEL_UAOL, enable);

On 6.18 and 6.12 hdac_bus_eml_enable_offload() returns -ENODEV when no UAOL
link is found, and this passes it up, so lnl_hda_dsp_probe(), resume and
runtime_resume fail on a part that doesn't enumerate one. Upstream doesn't hit
that because 978152b2cab5 ("ASoC: SOF: Intel: hda-mlink/lnl: Convert offload
enable functions to void") goes in first and skips absent links.

Is a UAOL link always enumerated on LNL, PTL and WCL with these trees? If not,
could you send a v2 for both trees that ignores -ENODEV from the UAOL call, or
one that brings 978152b2cab5 along?

--
Thanks,
Sasha