浏览代码

msm: camera: memmgr: suppress set mapped dmabuf name failed log

we can't set dma buffer name when it has been attached to hardware.
As usually UMD allocate one buffer then map it at KMD side. So most of time,
set mapped dma buffer name failed. But it's not a fault error. So
we move log to debug level.

CRs-Fixed: 3219506
Change-Id: If635f9fbeb26b96f45c83b1d03cbba97576c92b2
Signed-off-by: Fengjie Chen <[email protected]>
Fengjie Chen 3 年之前
父节点
当前提交
5d72a370be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/cam_req_mgr/cam_mem_mgr.c

+ 1 - 1
drivers/cam_req_mgr/cam_mem_mgr.c

@@ -1277,7 +1277,7 @@ int cam_mem_mgr_map(struct cam_mem_mgr_map_cmd_v2 *cmd)
 	}
 
 	if (cam_dma_buf_set_name(dmabuf, cmd->buf_name))
-		CAM_ERR(CAM_MEM, "set dma buffer name(%s) failed", cmd->buf_name);
+		CAM_DBG(CAM_MEM, "Dma buffer (%s) busy", cmd->buf_name);
 
 	if ((cmd->flags & CAM_MEM_FLAG_HW_READ_WRITE) ||
 		(cmd->flags & CAM_MEM_FLAG_PROTECTED_MODE)) {