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:
Karol Trzcinski 2020-08-27 07:53:12 +02:00 committed by Liam Girdwood
parent 60141f2074
commit 31a3aacc1a
1 changed files with 1 additions and 1 deletions

View File

@ -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)