Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Dec 20, 2022

4 simple fixes, more to come

The create_dai() function can return an uninitialised value. Fix it
by reducing the scope of the variable.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
If the main context variable is NULL, it cannot be used to print an
error message. Since this actually should never happen, use an
assertion similar to other similar cases in the file.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This is a theoretical case of an invalid pipeline status, handle it
correctly.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Use a local variable in ipc4_get_buffer() to simplify it and remove
redundant code.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@kv2019i
Copy link
Collaborator

kv2019i commented Dec 20, 2022

This is good to go, I think the one failure is not related, but let me kick the CI again while give other reviews a bit more time. If nothing new, I'll merge this in the afternoon.

@kv2019i
Copy link
Collaborator

kv2019i commented Dec 20, 2022

SOFCI TEST

@kv2019i
Copy link
Collaborator

kv2019i commented Dec 20, 2022

The error with device test is different now and the alsabat case does not seem related to these changes, so proceeding with merge. FYI @keqiaozhang for the alsabat failure

@kv2019i kv2019i merged commit b516172 into thesofproject:main Dec 20, 2022
@lyakh lyakh deleted the static branch December 20, 2022 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants