Fix pointer of struct dma_trace_data.

Liam's previous patch modify the structure variable from instance to
pointer. So it is unnecessary to use "&".
This parameter of parse_page_descriptors() is "void*", so complier
doesn't find this error.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
This commit is contained in:
Yan Wang 2018-03-01 11:59:56 +08:00 committed by Liam Girdwood
parent 28cb21b578
commit 1693b66bb1
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ static int ipc_dma_trace_config(uint32_t header)
/* Parse host tables */
err = parse_page_descriptors(iipc, &params->buffer,
&_ipc->dmat, 1);
_ipc->dmat, 1);
if (err < 0) {
trace_ipc_error("ePP");
goto error;