ASoC: Add a sanity check before using dai driver name
The dai driver's name is allowed to be NULL. So add a sanity check for that. Signed-off-by: NJeffy Chen <jeffy.chen@rock-chips.com> Reported-by: NDonglin Peng <dolinux.peng@gmail.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录