summaryrefslogtreecommitdiff
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2014-07-30 17:06:00 +0400
committerMark Brown <broonie@linaro.org>2014-07-31 23:18:09 +0400
commit19a23a5d76e59f84caafea7a3299c23894ecad63 (patch)
tree0612302ed50e4da76022fc7c70526005eff48927 /sound/soc/intel
parent30bba67c43c0dd36696d1209c19afc3f25f2f3f3 (diff)
downloadlinux-19a23a5d76e59f84caafea7a3299c23894ecad63.tar.xz
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>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/sst-mfld-platform-pcm.c2
1 files changed, 1 insertions, 1 deletions
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;
}