From 30f964242d092301267c31f575bb6975f567d463 Mon Sep 17 00:00:00 2001 From: George Shen Date: Mon, 4 Apr 2022 21:38:14 -0700 Subject: [PATCH] msm: eva: Remove unnecessary suspend warning It always happen in TVM. Change-Id: If77c1799cbeb7f331e2c13db1ceb9e38b1162def Signed-off-by: George Shen --- msm/eva/cvp.c | 4 ++++ msm/eva/msm_cvp_common.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/msm/eva/cvp.c b/msm/eva/cvp.c index 2231997d05..43ca66e43b 100644 --- a/msm/eva/cvp.c +++ b/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)) { diff --git a/msm/eva/msm_cvp_common.c b/msm/eva/msm_cvp_common.c index 8160d9a442..549bd98602 100644 --- a/msm/eva/msm_cvp_common.c +++ b/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; }