Re: [PATCH stable 6.18.y backport] ASoC: SOF: Intel: lnl: Enable offload for UAOL link
From: Péter Ujfalusi
Date: Mon Nov 30 2026 - 01:43:05 EST
On 27/11/2026 19:01, Sasha Levin wrote:
>> - 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
I'm not aware of any variant which does not have UAOL link, but you are
right, it is better to be protective.
Note: the UAOL can be disabled on a platform but the UAOL link itself
will still remain and still visible.
, or one that brings 978152b2cab5 along?
Initially I had the two patch backport (it is much cleaner), but after
re-reading the stable rules, the 978152b2cab5 did not pass the checks of
only strict small (max 100 lines) bugfixes.
I'll send both backports with ignoring the return value.
--
Péter