ASoC: rsnd: rsrc-card: check return value of snd_soc_of_get_dai_name()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 1 Dec 2015 08:33:23 +0000 (08:33 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Dec 2015 13:19:06 +0000 (13:19 +0000)
commit575f1f929f5a2ed80130c294aa7b2dc40dba74f2
tree3d6abb5bd79d959606af4f3f6749d86b38d30ad2
parent2ff2ecca06d5302782c73626b841a509a9b01ef6
ASoC: rsnd: rsrc-card: check return value of snd_soc_of_get_dai_name()

This patch adds missing check of snd_soc_of_get_dai_name().
It might not be able to use sound card, because it might returns
-EPROBE_DEFER.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/rsrc-card.c