mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "firmware: qcom: Fix hyp_log issue"
This commit is contained in:
commit
0b93e6ac09
1 changed files with 3 additions and 1 deletions
|
|
@ -957,12 +957,14 @@ static int _disp_hyp_log_stats(size_t count)
|
|||
{
|
||||
static struct hypdbg_log_pos_t log_start = {0};
|
||||
uint8_t *log_ptr;
|
||||
uint32_t log_len;
|
||||
|
||||
log_ptr = (uint8_t *)((unsigned char *)tzdbg.hyp_diag_buf +
|
||||
tzdbg.hyp_diag_buf->ring_off);
|
||||
log_len = tzdbg.hyp_debug_rw_buf_size - tzdbg.hyp_diag_buf->ring_off;
|
||||
|
||||
return __disp_hyp_log_stats(log_ptr, &log_start,
|
||||
tzdbg.hyp_debug_rw_buf_size, count, TZDBG_HYP_LOG);
|
||||
log_len, count, TZDBG_HYP_LOG);
|
||||
}
|
||||
|
||||
static int _disp_qsee_log_stats(size_t count)
|
||||
|
|
|
|||
Loading…
Reference in a new issue