浏览代码

msm: eva: Remove unnecessary suspend warning

It always happen in TVM.

Change-Id: If77c1799cbeb7f331e2c13db1ceb9e38b1162def
Signed-off-by: George Shen <[email protected]>
George Shen 3 年之前
父节点
当前提交
30f964242d
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 4 0
      msm/eva/cvp.c
  2. 0 2
      msm/eva/msm_cvp_common.c

+ 4 - 0
msm/eva/cvp.c

@@ -26,6 +26,7 @@
 #include "msm_cvp_clocks.h"
 #include "msm_cvp_dsp.h"
 #include "msm_cvp.h"
+#include "msm_cvp_vm.h"
 
 #define CLASS_NAME              "cvp"
 #define DRIVER_NAME             "cvp"
@@ -400,6 +401,9 @@ static int msm_probe_cvp_device(struct platform_device *pdev)
 		goto err_cores_exceeded;
 	}
 
+	/* VM manager shall be started before HFI init */
+	vm_manager.vm_ops->vm_start(core);
+
 	core->device = cvp_hfi_initialize(core->hfi_type, core->id,
 				&core->resources, &cvp_handle_cmd_response);
 	if (IS_ERR_OR_NULL(core->device)) {

+ 0 - 2
msm/eva/msm_cvp_common.c

@@ -1155,8 +1155,6 @@ int msm_cvp_comm_suspend(int core_id)
 	}
 
 	rc = call_hfi_op(hdev, suspend, hdev->hfi_device_data);
-	if (rc)
-		dprintk(CVP_WARN, "Failed to suspend\n");
 
 	return rc;
 }