summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2014-07-30 18:36:00 +0530
committerMark Brown <broonie@linaro.org>2014-07-31 20:18:09 +0100
commit19a23a5d76e59f84caafea7a3299c23894ecad63 (patch)
tree0612302ed50e4da76022fc7c70526005eff48927 /sound/soc
parent30bba67c43c0dd36696d1209c19afc3f25f2f3f3 (diff)
downloadtalos-obmc-linux-19a23a5d76e59f84caafea7a3299c23894ecad63.tar.gz
talos-obmc-linux-19a23a5d76e59f84caafea7a3299c23894ecad63.zip
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')
-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;
}
OpenPOWER on IntegriCloud