提交 19a23a5d 编写于 作者: S Subhransu S. Prusty 提交者: Mark Brown

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

Signed-off-by: NSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 30bba67c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册