Unverified Commit 80226295 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: rsnd: tidyup direction name on rsnd_dai_connect()



commit 2c6b6a3e ("ASoC: rsnd: use snd_pcm_direction_name()") uses
snd_pcm_direction_name() instead of original method to get string
"Playback" or "Capture". But io->substream might be NULL in this timing.
Let's re-use original method.

Fixes: 2c6b6a3e ("ASoC: rsnd: use snd_pcm_direction_name()")
Reported-by: default avatarThuan Nguyen <thuan.nguyen-hong@banvien.com.vn>
Tested-by: default avatarThuan Nguyen <thuan.nguyen-hong@banvien.com.vn>
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Message-ID: <87zfbmwq6v.wl-kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ebba78e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment