From ed04c4f150de34311f76b72cc645129572f61c03 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Thu, 13 Jul 2023 16:40:39 -0700 Subject: [PATCH] audio: igo: fix create arg attributes Creation is done with constant args Fixes: 10f6dd0d7b ("module-adapter: add a constant data pointer") Signed-off-by: Curtis Malainey --- src/audio/igo_nr/igo_nr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/igo_nr/igo_nr.c b/src/audio/igo_nr/igo_nr.c index 6a39066fc..7ee3884bd 100755 --- a/src/audio/igo_nr/igo_nr.c +++ b/src/audio/igo_nr/igo_nr.c @@ -276,9 +276,9 @@ static inline int32_t set_capture_func(struct comp_dev *dev) } static struct comp_dev *igo_nr_new(const struct comp_driver *drv, - struct comp_ipc_config *config, void *spec) + const struct comp_ipc_config *config, const void *spec) { - struct ipc_config_process *ipc_igo_nr = spec; + const struct ipc_config_process *ipc_igo_nr = spec; struct comp_dev *dev = NULL; struct comp_data *cd = NULL; size_t bs = ipc_igo_nr->size;