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 <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2023-07-13 16:40:39 -07:00 committed by Kai Vehmanen
parent 3e03232da7
commit ed04c4f150
1 changed files with 2 additions and 2 deletions

View File

@ -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, 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_dev *dev = NULL;
struct comp_data *cd = NULL; struct comp_data *cd = NULL;
size_t bs = ipc_igo_nr->size; size_t bs = ipc_igo_nr->size;