From 19a23a5d76e59f84caafea7a3299c23894ecad63 Mon Sep 17 00:00:00 2001 From: "Subhransu S. Prusty" Date: Wed, 30 Jul 2014 18:36:00 +0530 Subject: [PATCH] ASoC: Intel: mfld-pcm: Fix to use correct sst_data pointer Signed-off-by: Subhransu S. Prusty Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- sound/soc/intel/sst-mfld-platform-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c index 7de87887d9f8..47df05ed3ac3 100644 --- a/sound/soc/intel/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/sst-mfld-platform-pcm.c @@ -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; } -- 2.20.1