Merge pull request #395 from ranj063/d3_flag

ipc: set flag to disable memory banks before entering D3
diff --git a/src/ipc/handler.c b/src/ipc/handler.c
index 1c53fde..207f176 100644
--- a/src/ipc/handler.c
+++ b/src/ipc/handler.c
@@ -547,6 +547,7 @@
 static int ipc_pm_context_save(uint32_t header)
 {
 	struct sof_ipc_pm_ctx *pm_ctx = _ipc->comp_data;
+	struct intel_ipc_data *iipc = ipc_get_drvdata(_ipc);
 
 	trace_ipc("PMs");
 
@@ -575,7 +576,7 @@
 	/* write the context to the host driver */
 	mailbox_hostbox_write(0, pm_ctx, sizeof(*pm_ctx));
 
-	//iipc->pm_prepare_D3 = 1;
+	iipc->pm_prepare_D3 = 1;
 
 	return 1;
 }