Commit 8022629
ASoC: rsnd: tidyup direction name on rsnd_dai_connect()
commit 2c6b6a3 ("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: 2c6b6a3 ("ASoC: rsnd: use snd_pcm_direction_name()")
Reported-by: Thuan Nguyen <[email protected]>
Tested-by: Thuan Nguyen <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Mark Brown <[email protected]>1 parent ebba78e commit 8022629
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| |||
0 commit comments