~canonical-hwe-team/hwe-next/+git/sof:DSM_Reference_capture_channelmap

Last commit made on 2020-09-16
Get this branch:
git clone -b DSM_Reference_capture_channelmap https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
DSM_Reference_capture_channelmap
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

b267ba8... by Sathyanarayana Nujella <email address hidden> on 2020-09-16

topology: Update number of feeback reference channel on max98373

This patch modifies the number of reference feedback channels from the
Demux component to the host capture stream in sof-tgl-max98373-rt5682.

Signed-off-by: Dharageswari R <email address hidden>

1ba615e... by Dharageswari R <email address hidden> on 2020-09-16

topology: Modify init params for the Demux Config

This patch creates macros for the channel map of Feedback
and reference streams. Also, modifies the feedback channels and channel map
of the Demux configuration to send voltage and current data to the
smart amplifier component and only voltage data to the host as Feedback
stream.

Signed-off-by: Dharageswari R <email address hidden>

fa974eb... by Karol Trzcinski <email address hidden> on 2020-09-11

host: Make 'no bytes to copy' message more descriptive

It's important to know if theres no bytes because buffers are full/empty
or there is a problem with DMA.

Signed-off-by: Karol Trzcinski <email address hidden>

f09ebd7... by Karol Trzcinski <email address hidden> on 2020-09-11

host: Log error with comp_err instead of comp_cl_err

Classless method should be used only when device is not accessible,
component pipeline and id may be useful information during debugging.

Signed-off-by: Karol Trzcinski <email address hidden>

4dee846... by Karol Trzcinski <email address hidden> on 2020-09-10

ipc: All trace about dispatching ipc to disabled core

It will help in creation multicore system. This trace is much more
descriptive than -EINVAL. Moreover changed return code to -EACCESS
to be more unique and suited.

Signed-off-by: Karol Trzcinski <email address hidden>

9a7e889... by Karol Trzcinski <email address hidden> on 2020-09-09

ipc: Negate error message in ipc_comp_connect()

Error trace is produced only when component NOT exist,
so it should be coherent with log message.
Moreover add full information about connection - source and sink
component id, then it will be easier to find corrupter one.

Signed-off-by: Karol Trzcinski <email address hidden>

7722365... by Karol Trzcinski <email address hidden> on 2020-09-15

logger: Fix memory leak at first filter append

For first run, allocated memory pointer has been written twice to
config->filter_config but freed only once - memory leak.

Signed-off-by: Karol Trzcinski <email address hidden>

1240a8b... by Marc Herbert <email address hidden> on 2020-09-15

logger: stop ignoring return value of ‘freopen’

Reported by VERBOSE=1 CMAKE_BUILD_TYPE=Release ./scripts/build-tools.sh -l
and gcc version 9.3.0-10ubuntu2:

 tools/logger/convert.c:630:5: error: ignoring return value of ‘freopen’,
   declared with attribute warn_unused_result [-Werror=unused-result]

Tested with sof-test/test-case/check-suspend-resume-with-audio.sh

Fixes commit 6a84b4e945e4308 ("sof: logger: reopen trace file upon EOF")

Signed-off-by: Marc Herbert <email address hidden>

53bda51... by Marc Herbert <email address hidden> on 2020-09-15

logger: fix uninitialized FILE *out_fd in filter_update_firmware()

Reported by VERBOSE=1 CMAKE_BUILD_TYPE=Release ./scripts/build-tools.sh -l
and gcc version 9.3.0-10ubuntu2.

out_fd is not initialized on the first "goto err:" and this can result in
trying to close a random file descriptor.

Fixes commit 126060ae633b ("logger: Send parsed runtime log levels to FW
via debugFS")

Signed-off-by: Marc Herbert <email address hidden>

7d2cb09... by Marc Herbert <email address hidden> on 2020-09-15

logger: fix potential time_fmt truncation in print_entry_params()

As reported by gcc 9.3.0-10ubuntu2 and
 VERBOSE=1 CMAKE_BUILD_TYPE=Release ./scripts/build-tools.sh -l

  ‘__builtin___snprintf_chk’ output between 23 and 57 bytes
   into a time_fmt destination of size 32

Fixes commit d7b535e2825b ("logger: Add option to set timestamp
precision")

Signed-off-by: Marc Herbert <email address hidden>