Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kuninori Morimoto and committed by
Mark Brown
2c6b6a3e 5865e8c4

+1 -1
+1 -1
sound/soc/renesas/rcar/core.c
··· 597 597 598 598 dev_dbg(dev, "%s is connected to io (%s)\n", 599 599 rsnd_mod_name(mod), 600 - rsnd_io_is_play(io) ? "Playback" : "Capture"); 600 + snd_pcm_direction_name(io->substream->stream)); 601 601 602 602 return 0; 603 603 }