mirror of https://github.com/thesofproject/sof.git
smart_amp: copy ipc config
It appears in the conversion of the IPC API the copy in the smart amp code was missed and as a result the component loses its ID which results in the graph being broken and a crash on trigger. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
bb314fca61
commit
949d1f4d69
|
@ -226,6 +226,8 @@ static struct comp_dev *smart_amp_new(const struct comp_driver *drv,
|
|||
if (!dev)
|
||||
return NULL;
|
||||
|
||||
dev->ipc_config = *config;
|
||||
|
||||
sad = rzalloc(SOF_MEM_ZONE_RUNTIME, 0, SOF_MEM_CAPS_RAM, sizeof(*sad));
|
||||
if (!sad) {
|
||||
rfree(dev);
|
||||
|
|
Loading…
Reference in New Issue