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>
This commit is contained in:
Subhransu S. Prusty 2014-07-30 18:39:05 +05:30 • committed by Mark Brown
commit 2741d43a1e