ASoC: Intel: mfld-pcm: Fix to use correct sst_data pointer
Subsystems (3)
PATCH 1/1 ASoC: Intel: mfld-pcm: Fix to use correct sst_data pointer
Signed-off-by Subhransu S. Prusty <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- sound/soc/intel/sst-mfld-platform-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/sst-mfld-platform-pcm.c +1 -1
@@ -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 ; }
Signature · 1 line
1.9.0
Quoted 2 lines · Subhransu S. Prusty
Signed-off-by Subhransu S. Prusty <[email protected]>Signed-off-by Vinod Koul <[email protected]>
Applied, thanks.