[SRU][unstable][pull-request] alsa: enable the cirrus-logic side-codec to make the speaker output sound
Hui Wang
hui.wang at canonical.com
Fri Mar 18 12:52:55 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1965496
[Impact]
We have a couple of lenovo latops models which have cirrus-logic side
codec between realtek codec and speaker, it plays a role as amplifier,
we need to enable this side-codec, otherwise the speaker can't output
sound.
[Fix]
Backport codec patches and some i2c and acpi detection patches from
mainline kernel and linux-next
[Test]
boot the patched kernel, run speaker test, both left and right channel
could work well.
[Where problems could occur]
If it could introduce regression, it will be on soc wm_adsp codec
drivers, since most of patch are adding new codec drivers, it will
not touch existing codec drivers. If a machine with wm_adsp codec
can't output sound or record sound, it means this SRU introduce
the regression on wm_adsp driver, but this possibility is very
low, since all patches are picked from mainline kernel.
The following changes since commit
d91c57508eadb744f0f746d00d58e386cbfd1318:
UBUNTU: Ubuntu-unstable-5.17.0-5.5 (2022-03-14 13:15:50 +0100)
are available in the Git repository at:
https://git.launchpad.net/~hui.wang/+git/ubuntu-kernel:unstable-lp1965496
for you to fetch changes up to 98f846979076a40f915e9fddbd5fb23137e0dca6:
UBUNTU: [Config] enable CONFIG_SERIAL_MULTI_INSTANTIATE (2022-03-18
16:03:41 +0800)
----------------------------------------------------------------
Hui Wang (1):
UBUNTU: [Config] enable CONFIG_SERIAL_MULTI_INSTANTIATE
Lucas Tanure (4):
platform/x86: i2c-multi-instantiate: Rename it for a generic
serial driver name
platform/x86: serial-multi-instantiate: Reorganize I2C functions
ALSA: hda/realtek: Add support for HP Laptops
ACPI / scan: Create platform device for CS35L41
Stefan Binding (5):
spi: Make spi_alloc_device and spi_add_device public again
spi: Create helper API to lookup ACPI info for spi device
spi: Support selection of the index of the ACPI Spi Resource
before alloc
spi: Add API to count spi acpi resources
platform/x86: serial-multi-instantiate: Add SPI support
MAINTAINERS | 4 +-
debian.master/config/annotations | 4 +-
debian.master/config/config.common.ubuntu | 2 +-
drivers/acpi/scan.c | 16 +++---
drivers/platform/x86/Kconfig | 12 ++---
drivers/platform/x86/Makefile | 2 +-
drivers/platform/x86/i2c-multi-instantiate.c | 174
---------------------------------------------------------------
drivers/platform/x86/serial-multi-instantiate.c | 348
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/spi/spi.c | 137
++++++++++++++++++++++++++++++++++++++++++++------
include/linux/spi/spi.h | 20 ++++++++
sound/pci/hda/patch_realtek.c | 43 +++++++++++++++-
11 files changed, 554 insertions(+), 208 deletions(-)
delete mode 100644 drivers/platform/x86/i2c-multi-instantiate.c
create mode 100644 drivers/platform/x86/serial-multi-instantiate.c
More information about the kernel-team
mailing list