mirror of https://github.com/thesofproject/sof.git
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:
parent
28cb21b578
commit
1693b66bb1
|
@ -619,7 +619,7 @@ static int ipc_dma_trace_config(uint32_t header)
|
|||
|
||||
/* Parse host tables */
|
||||
err = parse_page_descriptors(iipc, ¶ms->buffer,
|
||||
&_ipc->dmat, 1);
|
||||
_ipc->dmat, 1);
|
||||
if (err < 0) {
|
||||
trace_ipc_error("ePP");
|
||||
goto error;
|
||||
|
|
Loading…
Reference in New Issue