ASoC: Intel: mfld-pcm: Fix to use correct sst_data pointer

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:36:00 +05:30 committed by Mark Brown
parent 30bba67c43
commit 19a23a5d76

View File

@ -573,7 +573,7 @@ static int sst_platform_probe(struct platform_device *pdev)
struct sst_platform_data *pdata = pdev->dev.platform_data;
drv = devm_kzalloc(&pdev->dev, sizeof(*drv), GFP_KERNEL);
if (sst == NULL) {
if (drv == NULL) {
pr_err("kzalloc failed\n");
return -ENOMEM;
}