Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] ALSA/ASoC: use snd_pcm_direction_name()
@ 2024-07-30  2:04 Kuninori Morimoto
  2024-07-30  2:05 ` [PATCH 01/12] ALSA: pci: pcxhr: " Kuninori Morimoto
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Kuninori Morimoto @ 2024-07-30  2:04 UTC (permalink / raw)
  To: Mark Brown, Takashi Iwai; +Cc: Linux-ALSA


Hi Tatasi, Mark

Many drivers are selecting strings "playback" / "capture" by own
handling, but we have snd_pcm_direction_name() function for it.
This patch use it.

One note is that snd_pcm_direction_name() will select
"Playback" and "Capture", instead of "playback" / "capture".
Almost all drivers are using it as dev_dbg() or dev_err()
so no problem. But some other drivers are using it as other
purpose. It might be issue (?). For example ASoC debugfs dir name
will be changed by this patch.

Kuninori Morimoto (12):
  ALSA: pci: pcxhr: use snd_pcm_direction_name()
  ALSA: pci: rme9652: use snd_pcm_direction_name()
  ALSA: trace: use snd_pcm_direction_name()
  ALSA: aloop: use snd_pcm_direction_name()
  ALSA: pcm_timer: use snd_pcm_direction_name()
  ASoC: stm: use snd_pcm_direction_name()
  ASoC: sof: pcm: use snd_pcm_direction_name()
  ASoC: sof: intel: use snd_pcm_direction_name()
  ASoC: fsl: lpc3xxx-i2s: use snd_pcm_direction_name()
  ASoC: tegra: use snd_pcm_direction_name()
  ASoC: soc-pcm: use snd_pcm_direction_name()
  ASoC: soc-dapm: use snd_pcm_direction_name()

 include/trace/events/asoc.h      |  3 ++-
 sound/core/pcm_timer.c           |  3 +--
 sound/drivers/aloop.c            |  3 +--
 sound/pci/pcxhr/pcxhr_mix22.c    |  2 +-
 sound/pci/rme9652/hdspm.c        |  6 ++----
 sound/soc/fsl/lpc3xxx-i2s.c      |  3 +--
 sound/soc/soc-dapm.c             |  3 +--
 sound/soc/soc-pcm.c              | 30 +++++++++++++++---------------
 sound/soc/sof/intel/hda-stream.c |  4 +---
 sound/soc/sof/pcm.c              |  2 +-
 sound/soc/stm/stm32_i2s.c        |  4 ++--
 sound/soc/tegra/tegra210_i2s.c   | 16 ++++++++--------
 12 files changed, 36 insertions(+), 43 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-08-02 17:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30  2:04 [PATCH 00/12] ALSA/ASoC: use snd_pcm_direction_name() Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 01/12] ALSA: pci: pcxhr: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 02/12] ALSA: pci: rme9652: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 03/12] ALSA: trace: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 04/12] ALSA: aloop: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 05/12] ALSA: pcm_timer: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 06/12] ASoC: stm: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 07/12] ASoC: sof: pcm: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 08/12] ASoC: sof: intel: " Kuninori Morimoto
2024-07-30  2:05 ` [PATCH 09/12] ASoC: fsl: lpc3xxx-i2s: " Kuninori Morimoto
2024-07-30  2:06 ` [PATCH 10/12] ASoC: tegra: " Kuninori Morimoto
2024-07-30  2:06 ` [PATCH 11/12] ASoC: soc-pcm: " Kuninori Morimoto
2024-07-30  2:06 ` [PATCH 12/12] ASoC: soc-dapm: " Kuninori Morimoto
2024-08-01 10:48 ` [PATCH 00/12] ALSA/ASoC: " Takashi Iwai
2024-08-02 17:35 ` (subset) " Mark Brown

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