Commit 19a23a5d authored by Subhransu S. Prusty's avatar Subhransu S. Prusty Committed by Mark Brown

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

Signed-off-by: default avatarSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 30bba67c
...@@ -573,7 +573,7 @@ static int sst_platform_probe(struct platform_device *pdev) ...@@ -573,7 +573,7 @@ static int sst_platform_probe(struct platform_device *pdev)
struct sst_platform_data *pdata = pdev->dev.platform_data; struct sst_platform_data *pdata = pdev->dev.platform_data;
drv = devm_kzalloc(&pdev->dev, sizeof(*drv), GFP_KERNEL); drv = devm_kzalloc(&pdev->dev, sizeof(*drv), GFP_KERNEL);
if (sst == NULL) { if (drv == NULL) {
pr_err("kzalloc failed\n"); pr_err("kzalloc failed\n");
return -ENOMEM; return -ENOMEM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment