All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: codecs: Everest: fix clock and supply balance
@ 2026-12-01 19:22 ` Arina Kharlamova via B4 Relay
  0 siblings, 0 replies; 9+ messages in thread
From: Arina Kharlamova @ 2026-12-01 19:22 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Binbin Zhou, Zhang Yi, David Yang
  Cc: linux-sound, Arina Kharlamova

Fixes for unbalanced clock and supply handling in the es8323,
es8375 and es8326 drivers. The es8326 patch is last because it
changes when mclk is on; the first two do not depend on it.

I found these with spec2patch. I model-checked the probe and remove
paths of each driver with CBMC against formal specifications of the
kernel APIs they call. The specifications are checked against the kernel
source, and some of them are proved in Rocq against a transcription of
the kernel code. I also checked lock usage separately. With the help of
an AI coding assistant (Claude); I reviewed the analysis and the fix.
Compile-tested only, not tested on hardware.

---
Arina Kharlamova (3):
      ASoC: codecs: es8323: Remove mclk calls from es8323_set_bias_level
      ASoC: codecs: es8375: Disable core supplies on unbind
      ASoC: codecs: ES8326: Keep mclk enabled while the device is bound

 sound/soc/codecs/es8323.c |  8 --------
 sound/soc/codecs/es8326.c | 14 +-------------
 sound/soc/codecs/es8375.c | 13 +++++++++++++
 3 files changed, 14 insertions(+), 21 deletions(-)
---
base-commit: 20ee6031645dbed8ddf8f4833edf415f3760607f
change-id: 20261201-s2p-asoc-es-6a6fc4f2b0b8

Best regards,
--  
Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-12-01 19:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 19:22 [PATCH 0/3] ASoC: codecs: Everest: fix clock and supply balance Arina Kharlamova
2026-12-01 19:22 ` Arina Kharlamova via B4 Relay
2026-12-01 19:22 ` [PATCH 1/3] ASoC: codecs: es8323: Remove mclk calls from es8323_set_bias_level Arina Kharlamova
2026-12-01 19:22   ` Arina Kharlamova via B4 Relay
2026-12-01 19:22 ` [PATCH 2/3] ASoC: codecs: es8375: Disable core supplies on unbind Arina Kharlamova
2026-12-01 19:22   ` Arina Kharlamova via B4 Relay
2026-12-01 19:33   ` sashiko-bot
2026-12-01 19:22 ` [PATCH 3/3] ASoC: codecs: ES8326: Keep mclk enabled while the device is bound Arina Kharlamova
2026-12-01 19:22   ` Arina Kharlamova via B4 Relay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.