aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst/sst_stream.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-11-18 13:04:20 +0300
committerMark Brown <broonie@kernel.org>2015-11-21 13:28:57 +0000
commitd16a2b9f2465b5486f830178fbfb7d203e0a17ae (patch)
tree76da046fcbfad64a3203ada8e6f6e51c70254525 /sound/soc/intel/atom/sst/sst_stream.c
parentASoC: Intel: Skylake: Update the rtd query (diff)
downloadlinux-dev-d16a2b9f2465b5486f830178fbfb7d203e0a17ae.tar.xz
linux-dev-d16a2b9f2465b5486f830178fbfb7d203e0a17ae.zip
ASoC: Intel: pass correct parameter in sst_alloc_stream_mrfld()
"data" is always NULL in this function. I think we should be passing "&data" to sst_prepare_and_post_msg() instead of "data". Fixes: 3d9ff34622ba ('ASoC: Intel: sst: add stream operations') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Tested-by: Dinesh Mirche <dinesh.mirche@intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst/sst_stream.c')
-rw-r--r--sound/soc/intel/atom/sst/sst_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst/sst_stream.c b/sound/soc/intel/atom/sst/sst_stream.c
index a74c64c7053c..4ccc80e5e8cc 100644
--- a/sound/soc/intel/atom/sst/sst_stream.c
+++ b/sound/soc/intel/atom/sst/sst_stream.c
@@ -108,7 +108,7 @@ int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params)
str_id, pipe_id);
ret = sst_prepare_and_post_msg(sst_drv_ctx, task_id, IPC_CMD,
IPC_IA_ALLOC_STREAM_MRFLD, pipe_id, sizeof(alloc_param),
- &alloc_param, data, true, true, false, true);
+ &alloc_param, &data, true, true, false, true);
if (ret < 0) {
dev_err(sst_drv_ctx->dev, "FW alloc failed ret %d\n", ret);