ASoC: ux500: Provide better checking for Device Tree and/or Platform Data
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Dec 2013 15:55:00 +0000 (15:55 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 7 Jan 2014 15:37:19 +0000 (15:37 +0000)
These drivers will not work without platform specific data, which is
passed in via Device Tree or Platform Data. To avoid the chance of
NULL pointer dereferencing and alike, let's ensure we have at least
one of the methods in play before continuing.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found