ACK: [SRU][Eoan][PATCH 0/4] alsa/sof: headphone can't be detected when sof driver enters rt_suspend
Kleber Souza
kleber.souza at canonical.com
Thu Apr 16 07:26:42 UTC 2020
On 13.04.20 04:33, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1872380
>
> This patchset is already in the linux-oem-osp1 and focal, so only eoan
> kernel needs this patchset
>
>
> [Impact]
> When users plug a headset/headphone into the audio jack, the driver
> can't detect them, if users open the gnome-sound-setting, then the
> driver could detect them.
>
> [Fix]
> Before driver enters runtime_suspend, need to set the WAKEEN, then
> the plug/unplugging will trigger unsol event to the driver.
>
> [Test Case]
> boot the kenrel, plug/unplug the headset/headphone, run amixer contents
> to check the "Jack Headpone" state
>
> [Regression Risk]
> Low, those patches come from mainline kernel, I have tested those patches
> on Dell and Lenovo machines, they all worked well.
>
> Fred Oh (1):
> ASoC: SOF: remove unused state variable in suspend function
>
> Keyon Jie (1):
> ASoC: SOF: Intel: hda: correct ROM state mask
>
> Rander Wang (2):
> ASoC: SOF: Intel: hda: reduce ifdef usage for hda
> ASoC: SOF: Intel: hda: Enable jack detection
>
> sound/soc/sof/intel/hda-codec.c | 44 +++++++++++++++++++++++++++--
> sound/soc/sof/intel/hda-dsp.c | 49 ++++++++++++++++-----------------
> sound/soc/sof/intel/hda.h | 8 ++++--
> sound/soc/sof/ops.h | 9 +++---
> sound/soc/sof/pm.c | 4 +--
> sound/soc/sof/sof-priv.h | 5 ++--
> 6 files changed, 78 insertions(+), 41 deletions(-)
>
Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
More information about the kernel-team
mailing list