Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zephyr: cpu: Suspend and resume DAIs during D3 state transitions
This patch introduces the suspension and resumption of Digital Audio Interface (DAI) components in the SOF firmware when the system enters and exits the D3 power state. The change ensures that DAI components are properly powered down before the system enters D3 to conserve power and are subsequently powered back up upon exiting D3 to resume normal operation. The implementation iterates over the component list to identify DAI components and invokes the `dai_remove` function to suspend each DAI before entering D3. Upon exiting D3, the `dai_probe` function is called to resume the operation of each previously suspended DAI. This approach helps maintain the integrity of the audio pipeline across D3 state transitions and prevents issues that may arise from DAIs being left in an undefined state during power transitions. Signed-off-by: Tomasz Leman <[email protected]>
- Loading branch information