Skip to content

Commit

Permalink
Smart_amp: Convert IPC4 dummy smart_amp component to use the module a…
Browse files Browse the repository at this point in the history
…dapter

Convert the IPC4 dummy smart_amp(smart_amp_test_ipc4.c) module to use
module adapter interface. And remove the k_mutex lock from struct
smart_amp_data since the lock is used for bind/unbind thread and process
thread. Now bind/unbind are removed, all lock reference is used in the same
thread so we don't need it anymore.

Signed-off-by: Andrula Song <[email protected]>
  • Loading branch information
andrula-song authored and kv2019i committed May 8, 2023
1 parent 460bca5 commit 523fe82
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 375 deletions.
1 change: 0 additions & 1 deletion src/include/sof/samples/audio/smart_amp_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ struct sof_smart_amp_config {
#define SMART_AMP_NUM_OUT_PINS 1

struct sof_smart_amp_ipc4_config {
struct ipc4_base_module_cfg base;
struct ipc4_input_pin_format input_pins[SMART_AMP_NUM_IN_PINS];
struct ipc4_output_pin_format output_pin;
};
Expand Down
Loading

0 comments on commit 523fe82

Please sign in to comment.