mirror of https://github.com/thesofproject/sof.git
Pipeline: Compilation fix for xt-xcc compiler
The xt-xcc compiler does not accept NULL as return value from an int function. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
34eee5e585
commit
1b0cb08896
|
@ -367,7 +367,7 @@ int init_static_pipeline(struct ipc *ipc)
|
|||
/* init system pipeline core */
|
||||
ret = pipeline_init();
|
||||
if (ret < 0)
|
||||
return NULL;
|
||||
return ret;
|
||||
|
||||
/* create the pipelines */
|
||||
for (i = 0; i < ARRAY_SIZE(pipeline); i++) {
|
||||
|
|
Loading…
Reference in New Issue