[SRU][OEM-5.17][PATCH 00/10] alsa: enable the cirrus-logic side-codec to make the speaker output sound
Hui Wang
hui.wang at canonical.com
Wed Apr 20 09:41:22 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1965496
The fix was applied to jammy and oem-5.14 already, the oem-5.17 needs
to apply the 10 patches in this SRU. And linux-5.18-rc1 already has
all patches so no need to send SRU to unstable.
[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.
Hui Wang (1):
UBUNTU: [Config]: enable 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.oem/abi/amd64/oem.modules | 1 -
debian.oem/config/annotations | 5 +-
debian.oem/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 ---------
.../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 ++-
12 files changed, 555 insertions(+), 209 deletions(-)
delete mode 100644 drivers/platform/x86/i2c-multi-instantiate.c
create mode 100644 drivers/platform/x86/serial-multi-instantiate.c
--
2.25.1
More information about the kernel-team
mailing list