-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipc4: Fix for cross-core bind and unbind
comp_bind() may call comp_bind_remote() which uses IDC and so interrupts should be enabled, otherwise dead lock will happen. Same for comp_unbind(). Those irq_local_disable() and irq_local_enable() are actually global. irq_local_disable()/irq_local_enable() are not really needed as bind/unbind cannot be preempted anyway because of IPC synchronisation: only after bind/unbind IPC reply next IPC (e.g. pipeline start) could come. Signed-off-by: Serhiy Katsyuba <[email protected]>
- Loading branch information
1 parent
68cd5ef
commit 83640f9
Showing
1 changed file
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters