For LunarLake, the SoundWire in-band wake detection is reported with the HDAudio WAKE_EN/WAKE_STS registers. In the existing code, these registers are only handled for HDaudio codecs. Now the same registers have to be handled with care as shared resources.
The in-band wake detection mainly used for jack detection. Without this patchset, the SoundWire headset codecs signal an event that would be ignored and not reported.
Pierre-Louis Bossart (4): ASoC: SOF: Intel: hda-ctrl: add missing WAKE_STS clear ASoC: SOF: Intel: lnl: add helper to detect SoundWire wakes ASoC: SOF: Intel: hda-codec: preserve WAKEEN values ASoC: SOF: Intel: hda-ctrl: only clear WAKESTS for HDaudio codecs
sound/soc/sof/intel/hda-codec.c | 15 ++++++++++++--- sound/soc/sof/intel/hda-ctrl.c | 9 ++++++++- sound/soc/sof/intel/lnl.c | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-)