public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/3] ASoC: remove card->pop_time
@ 2026-04-09  4:36 Kuninori Morimoto
  2026-04-09  4:37 ` [RFC][PATCH 1/3] ASoC: ti: amx-delta: don't use card->pop_time Kuninori Morimoto
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Kuninori Morimoto @ 2026-04-09  4:36 UTC (permalink / raw)
  To: Jaroslav Kysela, Liam Girdwood, Mark Brown, Peter Ujfalusi,
	Takashi Iwai, linux-sound

Hi Mark, OMAP member

I'm now trying to cleanup snd_soc_card, and noticed that card->pop_time is used
only from OMAP1 board-ams-delta.

card->pop_time user drivers are...

	> git grep -w -l pop_time sound/soc include/sound
	include/sound/soc.h
(A)	sound/soc/codecs/cx20442.c
	sound/soc/soc-card.c
	sound/soc/soc-dapm.c
(B)	sound/soc/ti/ams-delta.c

Except ASoC framework, pop_time user is only cx20442 (A) / ams-delta (B).
And board-ams-delta (Z) is using it.

(Z)	linux/arch/arm/mach-omap1/board-ams-delta.c

	static struct platform_device ams_delta_audio_device = {
(A)		.name   = "ams-delta-audio",
	};

	static struct platform_device cx20442_codec_device = {
(B)		.name   = "cx20442-codec",
	};

	static struct platform_device *ams_delta_devices[] __initdata = {
		...
(A)		&ams_delta_audio_device,
		...
(B)		&cx20442_codec_device,
		...
	};

With off-list talk with Mark, this card->pop_time is is much less of a
problem. So let's remove it. But it needs Acked-by from OMAP1 member.
I added [RFC] on Subject.

Kuninori Morimoto (3):
  ASoC: ti: amx-delta: don't use card->pop_time
  ASoC: cx20442: don't use card->pop_time
  ASoC: soc-card: remvoe card->pop_time

 include/sound/soc.h        |  2 --
 sound/soc/codecs/cx20442.c |  3 --
 sound/soc/soc-core.c       |  3 --
 sound/soc/soc-dapm.c       | 43 ------------------------
 sound/soc/ti/ams-delta.c   | 67 +-------------------------------------
 5 files changed, 1 insertion(+), 117 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-04-10  7:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09  4:36 [RFC][PATCH 0/3] ASoC: remove card->pop_time Kuninori Morimoto
2026-04-09  4:37 ` [RFC][PATCH 1/3] ASoC: ti: amx-delta: don't use card->pop_time Kuninori Morimoto
2026-04-09  4:37 ` [RFC][PATCH 2/3] ASoC: cx20442: " Kuninori Morimoto
2026-04-09  4:37 ` [RFC][PATCH 3/3] ASoC: soc-card: remvoe card->pop_time Kuninori Morimoto
2026-04-09  5:22 ` [RFC][PATCH 0/3] ASoC: remove card->pop_time Takashi Iwai
2026-04-09 20:47   ` Mark Brown
2026-04-09  8:14 ` Péter Ujfalusi
2026-04-09 19:11   ` Mark Brown
2026-04-10  3:14     ` Kuninori Morimoto
2026-04-10  7:06     ` Péter Ujfalusi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox