We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 956585e + c172b0d commit 7a2f8c2Copy full SHA for 7a2f8c2
1 file changed
src/ipc/handler.c
@@ -581,13 +581,14 @@ static int ipc_pm_context_save(uint32_t header)
581
582
static int ipc_pm_context_restore(uint32_t header)
583
{
584
-// struct sof_ipc_pm_ctx pm_ctx = _ipc->comp_data;
+ struct sof_ipc_pm_ctx *pm_ctx = _ipc->comp_data;
585
586
trace_ipc("PMr");
587
588
- /* now restore the context */
+ /* restore context placeholder */
589
+ mailbox_hostbox_write(0, pm_ctx, sizeof(*pm_ctx));
590
- return 0;
591
+ return 1;
592
}
593
594
static int ipc_glb_pm_message(uint32_t header)
0 commit comments