mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge d35e7e899b on remote branch
Change-Id: Ide4cb97fa564ec984b297ea505c70bee1561f64a
This commit is contained in:
commit
35a56acb33
1 changed files with 6 additions and 7 deletions
|
|
@ -257,12 +257,11 @@ const char *cam_get_tag_name(unsigned int tag_id)
|
|||
void cam_debug_log(unsigned int module_id, const char *func, const int line,
|
||||
const char *fmt, ...)
|
||||
{
|
||||
char str_buffer[STR_BUFFER_MAX_LENGTH];
|
||||
va_list args;
|
||||
|
||||
va_start(args, fmt);
|
||||
|
||||
if (debug_mdl & module_id) {
|
||||
char str_buffer[STR_BUFFER_MAX_LENGTH];
|
||||
va_list args;
|
||||
|
||||
va_start(args, fmt);
|
||||
vsnprintf(str_buffer, STR_BUFFER_MAX_LENGTH, fmt, args);
|
||||
|
||||
if ((debug_type == 0) || (debug_type == 2)) {
|
||||
|
|
@ -281,9 +280,9 @@ void cam_debug_log(unsigned int module_id, const char *func, const int line,
|
|||
func, line, str_buffer);
|
||||
trace_cam_log_debug(trace_buffer);
|
||||
}
|
||||
}
|
||||
|
||||
va_end(args);
|
||||
va_end(args);
|
||||
}
|
||||
}
|
||||
|
||||
void cam_debug_trace(unsigned int tag, unsigned int module_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue