mirror of https://github.com/thesofproject/sof.git
logger: Terminate parsed log levels with new line
Text saved to FILTER_KERNEL_PATH should be terminated with
new line, to indicate end of input and mark it redy to send
to FW in IPC message.
Fixes: 126060ae
(logger: Send parsed runtime log levels to FW via debugFS)
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
parent
60141f2074
commit
31a3aacc1a
|
@ -316,7 +316,7 @@ int filter_update_firmware(const struct snd_sof_uids_header *uids_dict,
|
||||||
fprintf(out_fd, "%d %X %d %d;", filter->log_level,
|
fprintf(out_fd, "%d %X %d %d;", filter->log_level,
|
||||||
filter->uuid_id, filter->pipe_id, filter->comp_id);
|
filter->uuid_id, filter->pipe_id, filter->comp_id);
|
||||||
}
|
}
|
||||||
fprintf(stdout, "\n");
|
fprintf(out_fd, "\n");
|
||||||
|
|
||||||
err:
|
err:
|
||||||
if (out_fd)
|
if (out_fd)
|
||||||
|
|
Loading…
Reference in New Issue