ASoC: simple-card: Add a NULL pointer check in asoc_simple_card_dai_link_of
authorVishal Thanki <vishalthanki@gmail.com>
Tue, 3 Mar 2015 13:29:00 +0000 (18:59 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2015 14:25:16 +0000 (14:25 +0000)
commit31f3032c1a5504259f6fa8e0c7f8d2d3e2f5db48
tree3d3a82320cb4c6506b42fc88a29ca3a730fdc5a7
parentc517d838eb7d07bbe9507871fab3931deccff539
ASoC: simple-card: Add a NULL pointer check in asoc_simple_card_dai_link_of

Make sure devm_kzalloc() succeeds.

Signed-off-by: Vishal Thanki <vishalthanki@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c