ASoC: core: Fix dai_link dereference.

We should check dailess before dereferencing.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Liam Girdwood 2012-04-30 11:05:30 +01:00 • committed by Mark Brown
commit cd0f8911c5