Explorar o código

msm: camera: util: Fix printing of tag in trace logs

This commit fixes regression in printing trace logs caused by
'commit 27ad84d8278f ("msm: camera: utils: Add support for multiline
printing to log buffers")'.

CRs-Fixed: 2960607
Change-Id: If136339286647ce21adbcb1425c905b045dac7ef
Signed-off-by: Anand Ravi <[email protected]>
Anand Ravi %!s(int64=4) %!d(string=hai) anos
pai
achega
db09e75c0e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/cam_utils/cam_debug_util.c

+ 1 - 1
drivers/cam_utils/cam_debug_util.c

@@ -317,7 +317,7 @@ void cam_debug_trace(unsigned int tag, unsigned int module_id,
 		va_list args;
 
 		va_start(args, fmt);
-		__cam_print_to_buffer(str_buf, STR_BUFFER_MAX_LENGTH, &len, CAM_TYPE_TRACE,
+		__cam_print_to_buffer(str_buf, STR_BUFFER_MAX_LENGTH, &len, tag,
 			module_id, func, line, true, fmt, args);
 		trace_cam_log_debug(str_buf);
 		va_end(args);