ASoC: Intel: pass correct parameter in sst_alloc_stream_mrfld()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Nov 2015 10:04:20 +0000 (13:04 +0300)
committerMark Brown <broonie@kernel.org>
Sat, 21 Nov 2015 13:28:57 +0000 (13:28 +0000)
commitd16a2b9f2465b5486f830178fbfb7d203e0a17ae
tree76da046fcbfad64a3203ada8e6f6e51c70254525
parent85af2a665144f40cdf60c0e0e7fe88e40c20b0fa
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>
sound/soc/intel/atom/sst/sst_stream.c