~vicamo/+git/ubuntu-kernel:bug-1942043/cirrus-pop-noise-at-reboot/unstable

Last commit made on 2021-09-03
Get this branch:
git clone -b bug-1942043/cirrus-pop-noise-at-reboot/unstable https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1942043/cirrus-pop-noise-at-reboot/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

7a827d0... by Takashi Iwai

ALSA: hda: Disable runtime resume at shutdown

BugLink: https://bugs.launchpad.net/bugs/1942043

Although we modified the codec shutdown callback to perform
runtime-suspend, it's still not fully effective, as this may be
resumed again at any time later.

For fixing such an unwanted resume, this patch replaces
pm_runtime_suspend() with pm_runtime_force_suspend(), and call
pm_runtime_disable() afterward. It assures to keep the device
suspended.

Also for code simplification, we apply the code unconditionally; when
it's been already suspended, nothing would happen by calls of
snd_pcm_suspend_all() and pm_runtime_force_suspend(), just proceed to
pm_runtime_disable().

Fixes: b98444ed597d ("ALSA: hda: Suspend codec at shutdown")
Reported-and-tested-by: Vitaly Rodionov <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 2eaf1635f9d62a2774c1c8114db24456dfd00721)
Signed-off-by: You-Sheng Yang <email address hidden>

5c8a499... by Takashi Iwai

ALSA: hda: Nuke unused reboot_notify callback

BugLink: https://bugs.launchpad.net/bugs/1942043

As reboot_notify callback is no longer used by the codec core, let's
get rid of the unused code. Conexant codec needs a slight code change
as it used to call the reboot_notify at the codec removal, too.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214045
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 327b34f2a97d72c41d4854d61336c9ae6ffe4a44)
Signed-off-by: You-Sheng Yang <email address hidden>

f0d2f87... by Takashi Iwai

ALSA: hda: Suspend codec at shutdown

BugLink: https://bugs.launchpad.net/bugs/1942043

So far we have a few workarounds at shutdown for each codec,
e.g. turning off the display power and setting the codec to D3.
But all those are basically a part of the suspend procedure.
Moreover, the streams are still active after that call, hence it might
hit the update on the codec that has been already put to D3.

In this patch, instead of calling each reboot_notify callback, simply
put the codec into the runtime-suspended state after the manual
suspend of all PCM streams. It makes the code and the behavior more
consistent.

The reboot_notify callback is no longer used after this patch, and
will be cleaned up later.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214045
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit b98444ed597dc42be620bcac241c93da50933e69)
Signed-off-by: You-Sheng Yang <email address hidden>

2d82fd0... by Takashi Iwai

ALSA: hda: conexant: Turn off EAPD at suspend, too

BugLink: https://bugs.launchpad.net/bugs/1942043

Conexant codecs have a workaround for the noise at shutdown to turn
off EAPD, but it wasn't applied at suspend. In the later patch, we'll
switch from reboot_notify callback to the general suspend-at-shutdown,
so let's apply the workaround to the suspend case, too.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214045
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 95dc85dba05fa8f84c6db5fee3990fa4dd9fb499)
Signed-off-by: You-Sheng Yang <email address hidden>

f9dc242... by You-Sheng Yang

Revert "UBUNTU: SAUCE: ALSA: hda/cs8409: Prevent pops and clicks during reboot"

BugLink: https://bugs.launchpad.net/bugs/1942043

This reverts commit 01552e89a593079d0004a94a4402b60589210ee5.

Signed-off-by: You-Sheng Yang <email address hidden>

c5185d7... by Paolo Pisati

UBUNTU: Ubuntu-unstable-5.14.0-8.8

Signed-off-by: Paolo Pisati <email address hidden>

ea78ed1... by Paolo Pisati

UBUNTU: [Config] RESET_MCHP_SPARX5 depends on ARCH_SPARX5

Signed-off-by: Paolo Pisati <email address hidden>

d2b0855... by Paolo Pisati

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1941887
Properties: no-test-build
Signed-off-by: Paolo Pisati <email address hidden>

e371fa9... by Paolo Pisati

UBUNTU: rebase to v5.14

Signed-off-by: Paolo Pisati <email address hidden>

ea05984... by Paolo Pisati

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Paolo Pisati <email address hidden>