ASoC: SOF: Fix snd_sof_ipc_stream_posn()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 3 Mar 2020 10:18:58 +0000 (13:18 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2020 14:00:02 +0000 (14:00 +0000)
commit613cea5935e83cb5a7d182ee3f98d54620e102e2
treef69ec4d8b1349cc4df15eb21a3fbfc6cff600076
parent4b01618b624736fc7d74f150f623d11b17b7b288
ASoC: SOF: Fix snd_sof_ipc_stream_posn()

We're passing "&posn" instead of "posn" so it ends up corrupting
memory instead of doing something useful.

Fixes: 53e0c72d98ba ("ASoC: SOF: Add support for IPC IO between DSP and Host")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200303101858.ytehbrivocyp3cnf@kili.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc.c