diff mbox

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

Message ID 1406725560-27726-1-git-send-email-subhransu.s.prusty@intel.com (mailing list archive)
State Accepted
Commit 19a23a5d76e59f84caafea7a3299c23894ecad63
Headers show

Commit Message

Subhransu S. Prusty July 30, 2014, 1:06 p.m. UTC
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 sound/soc/intel/sst-mfld-platform-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown July 31, 2014, 7:18 p.m. UTC | #1
On Wed, Jul 30, 2014 at 06:36:00PM +0530, Subhransu S. Prusty wrote:
> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
> Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c
index d48d23bbf5cd..dbff2965a6e3 100644
--- a/sound/soc/intel/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/sst-mfld-platform-pcm.c
@@ -697,7 +697,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;
 	}