Skip to content

Commit

Permalink
ASoC: Intel: mfld-pcm: Fix to use correct sst_data pointer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Subhransu S. Prusty authored and Mark Brown committed Jul 31, 2014
1 parent 30bba67 commit 19a23a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/intel/sst-mfld-platform-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 19a23a5

Please sign in to comment.