[PATCH 0/4] ASoC: codecs: wsa88xx: fix codec initialisation

Johan Hovold posted 4 patches 1 month ago
sound/soc/codecs/wsa881x.c |  9 +++++++++
sound/soc/codecs/wsa883x.c | 26 ++++++++++++++++++--------
sound/soc/codecs/wsa884x.c |  3 +--
3 files changed, 28 insertions(+), 10 deletions(-)
[PATCH 0/4] ASoC: codecs: wsa88xx: fix codec initialisation
Posted by Johan Hovold 1 month ago
The soundwire update_status() callback may be called multiple times with
the same ATTACHED status but initialisation should only be done when
transitioning from UNATTACHED to ATTACHED.

This series fixes the Qualcomm wsa88xx codec drivers that do unnecessary
reinitialisation or potentially fail to initialise at all.

Included is also a related clean up suppressing a related codec variant
printk.

Johan


Johan Hovold (4):
  ASoC: codecs: wsa883x: fix unnecessary initialisation
  ASoC: codecs: wsa881x: fix unnecessary initialisation
  ASoC: codecs: wsa884x: fix codec initialisation
  ASoC: codecs: wsa883x: suppress variant printk

 sound/soc/codecs/wsa881x.c |  9 +++++++++
 sound/soc/codecs/wsa883x.c | 26 ++++++++++++++++++--------
 sound/soc/codecs/wsa884x.c |  3 +--
 3 files changed, 28 insertions(+), 10 deletions(-)

-- 
2.51.2
Re: [PATCH 0/4] ASoC: codecs: wsa88xx: fix codec initialisation
Posted by Mark Brown 1 month ago
On Fri, 02 Jan 2026 12:14:09 +0100, Johan Hovold wrote:
> The soundwire update_status() callback may be called multiple times with
> the same ATTACHED status but initialisation should only be done when
> transitioning from UNATTACHED to ATTACHED.
> 
> This series fixes the Qualcomm wsa88xx codec drivers that do unnecessary
> reinitialisation or potentially fail to initialise at all.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: codecs: wsa883x: fix unnecessary initialisation
      commit: 49aadf830eb048134d33ad7329d92ecff45d8dbb
[2/4] ASoC: codecs: wsa881x: fix unnecessary initialisation
      commit: 29d71b8a5a40708b3eed9ba4953bfc2312c9c776
[3/4] ASoC: codecs: wsa884x: fix codec initialisation
      commit: 120f3e6ff76209ee2f62a64e5e7e9d70274df42b
[4/4] ASoC: codecs: wsa883x: suppress variant printk
      commit: 46a16d89d097ac2c93b63382a37d60aa7f21dc71

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH 0/4] ASoC: codecs: wsa88xx: fix codec initialisation
Posted by Srinivas Kandagatla 1 month ago

On 1/2/26 11:14 AM, Johan Hovold wrote:
> The soundwire update_status() callback may be called multiple times with
> the same ATTACHED status but initialisation should only be done when
> transitioning from UNATTACHED to ATTACHED.
> 
> This series fixes the Qualcomm wsa88xx codec drivers that do unnecessary
> reinitialisation or potentially fail to initialise at all.
> 
> Included is also a related clean up suppressing a related codec variant
> printk.
> 
> Johan
> 
> 

Thanks Johan for cleaning this up.

Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>

--srini

> Johan Hovold (4):
>   ASoC: codecs: wsa883x: fix unnecessary initialisation
>   ASoC: codecs: wsa881x: fix unnecessary initialisation
>   ASoC: codecs: wsa884x: fix codec initialisation
>   ASoC: codecs: wsa883x: suppress variant printk
> 
>  sound/soc/codecs/wsa881x.c |  9 +++++++++
>  sound/soc/codecs/wsa883x.c | 26 ++++++++++++++++++--------
>  sound/soc/codecs/wsa884x.c |  3 +--
>  3 files changed, 28 insertions(+), 10 deletions(-)
>