diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-12-19 15:55:00 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-07 15:37:19 +0000 |
commit | a61f9e314ad8ab9434ddd989b857ed93fdc725e2 (patch) | |
tree | c1f0a8337859d772a55d9319aaf94e1eba182ae5 /sound/soc/ux500/mop500.c | |
parent | 0475680b5c2ef4bbdc3af1f6cfd014ea08c8d981 (diff) | |
download | linux-a61f9e314ad8ab9434ddd989b857ed93fdc725e2.tar.gz linux-a61f9e314ad8ab9434ddd989b857ed93fdc725e2.tar.bz2 linux-a61f9e314ad8ab9434ddd989b857ed93fdc725e2.zip |
ASoC: ux500: Provide better checking for Device Tree and/or Platform Data
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>
Diffstat (limited to 'sound/soc/ux500/mop500.c')
0 files changed, 0 insertions, 0 deletions