[PATCH v2 00/11] Improve CS35l41-based audio codec drivers

From: Cristian Ciocaltea
Date: Thu Sep 07 2023 - 13:25:45 EST


This patch series contains several fixes and improvements to drivers
based on the CS35l41 audio codec.

It has been verified on Valve's Steam Deck, except the HDA related patches.

Changes in v2:
- Added Acked-by tags from Charles
- Reworked the shared boost handling per reviews from Charles and David
- Dropped PATCH 5/9 and moved PATCH 6/9 a bit down the list, as it doesn't
contain a Fixes tag
- Reverted usage of devm_pm_runtime_enable() in PATCH 9/9 and replaced with
a proper runtime PM changes undo in PATCH v2 06/11
- Added 3 new patches providing some HDA related fixes
- v1: https://lore.kernel.org/all/20230902210621.1184693-1-cristian.ciocaltea@xxxxxxxxxxxxx/

Cristian Ciocaltea (11):
ASoC: cs35l41: Handle mdsync_down reg write errors
ASoC: cs35l41: Handle mdsync_up reg write errors
ASoC: cs35l41: Initialize completion object before requesting IRQ
ASoC: cs35l41: Fix broken shared boost activation
ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler
ASoC: cs35l41: Undo runtime PM changes at driver exit time
ASoC: cs35l41: Make use of dev_err_probe()
ASoC: cs35l41: Use modern pm_ops
ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time
ALSA: hda: cs35l41: Consistently use dev_err_probe()

include/sound/cs35l41.h | 4 +-
sound/pci/hda/cs35l41_hda.c | 23 +++++----
sound/soc/codecs/cs35l41-i2c.c | 11 ++--
sound/soc/codecs/cs35l41-lib.c | 60 +++++++++++++---------
sound/soc/codecs/cs35l41-spi.c | 11 ++--
sound/soc/codecs/cs35l41.c | 93 +++++++++++++++++++---------------
sound/soc/codecs/cs35l41.h | 1 -
7 files changed, 112 insertions(+), 91 deletions(-)

--
2.41.0