From: Xiubo Li Date: Fri, 20 Dec 2013 06:39:50 +0000 (+0800) Subject: ASoC: simple-card: Add cpu_dai and codec_dai names NULL check X-Git-Tag: v3.14-rc1~143^2~1^2~38^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd41e0c4e35abc5a5679762ab108a6fcd9a0ead9;p=pandora-kernel.git ASoC: simple-card: Add cpu_dai and codec_dai names NULL check The name of cpu DAI maybe omitted, and then strlen() will lead kernel panic. Signed-off-by: Xiubo Li Signed-off-by: Mark Brown --- Reading git-diff-tree failed