On Tue, 30 Jul 2024 04:04:43 +0200, Kuninori Morimoto wrote: > > > 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() Applied from patch 1 to 5 to for-next branch. I leave the rest for ASoC to Mark. thanks, Takashi