ASoC: Intel: mfld-pcm: Allocate platform data
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Wed, 30 Jul 2014 13:09:05 +0000 (18:39 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 31 Jul 2014 19:18:09 +0000 (20:18 +0100)
commit2741d43a1edd13c81a50ceb63f4edbf5fedb53ce
tree95a69a817a7a5fa89f258b1f493891ff46cf63e0
parent19a23a5d76e59f84caafea7a3299c23894ecad63
ASoC: Intel: mfld-pcm: Allocate platform data

Platform data may be null during platform_device_add. Allocate platform
data before using.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-mfld-platform-pcm.c