mirror of https://github.com/thesofproject/sof.git
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:
parent
3e03232da7
commit
ed04c4f150
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue