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 15:38:41 +0000 (15:38 +0000)
commit0004defd4e44d81966b0c4164c2ee01f20ab357b
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