APPLIED: [SRU][Eoan][PATCH 0/4] alsa/sof: headphone can't be detected when sof driver enters rt_suspend

Kelsey Skunberg kelsey.skunberg at canonical.com
Fri Apr 24 17:38:50 UTC 2020


On 2020-04-13 10:33:31 , 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(-)
>

Applied to Eoan/master-next. Thank you!

-Kelsey
 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list