mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
ASoC: rsnd: use snd_pcm_direction_name()
We already have snd_pcm_direction_name(). Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87bjszr1xp.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
5865e8c4ae
commit
2c6b6a3e8b
@@ -597,7 +597,7 @@ int rsnd_dai_connect(struct rsnd_mod *mod,
|
||||
|
||||
dev_dbg(dev, "%s is connected to io (%s)\n",
|
||||
rsnd_mod_name(mod),
|
||||
rsnd_io_is_play(io) ? "Playback" : "Capture");
|
||||
snd_pcm_direction_name(io->substream->stream));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user