Loading drivers/char/diag/diagfwd.c +1 −1 Original line number Diff line number Diff line Loading @@ -1687,10 +1687,10 @@ static int diagfwd_mux_write_done(unsigned char *buf, int len, int buf_ctxt, break; case TYPE_CMD: if (peripheral >= 0 && peripheral < NUM_PERIPHERALS) { diagfwd_write_done(peripheral, type, num); DIAG_LOG(DIAG_DEBUG_PERIPHERALS, "Marking buffer as free after write done p: %d, t: %d, buf_num: %d\n", peripheral, type, num); diagfwd_write_done(peripheral, type, num); } if (peripheral == APPS_DATA || ctxt == DIAG_MEMORY_DEVICE_MODE) { Loading drivers/char/diag/diagfwd_peripheral.c +6 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,8 @@ static int check_bufsize_for_encoding(struct diagfwd_buf_t *buf, uint32_t len) } if (buf->len < max_size) { if (driver->logging_mode == DIAG_MEMORY_DEVICE_MODE) { if (driver->logging_mode == DIAG_MEMORY_DEVICE_MODE || driver->logging_mode == DIAG_MULTI_MODE) { ch = &diag_md[DIAG_LOCAL_PROC]; for (i = 0; ch != NULL && i < ch->num_tbl_entries; i++) { Loading Loading @@ -1631,6 +1632,10 @@ void diagfwd_channel_read(struct diagfwd_info *fwd_info) fail_return: diag_ws_release(); atomic_set(&temp_buf->in_busy, 0); DIAG_LOG(DIAG_DEBUG_PERIPHERALS, "Buffer for core PD is marked free, p: %d, t: %d, buf_num: %d\n", fwd_info->peripheral, fwd_info->type, GET_BUF_NUM(temp_buf->ctxt)); } static void diagfwd_queue_read(struct diagfwd_info *fwd_info) Loading Loading
drivers/char/diag/diagfwd.c +1 −1 Original line number Diff line number Diff line Loading @@ -1687,10 +1687,10 @@ static int diagfwd_mux_write_done(unsigned char *buf, int len, int buf_ctxt, break; case TYPE_CMD: if (peripheral >= 0 && peripheral < NUM_PERIPHERALS) { diagfwd_write_done(peripheral, type, num); DIAG_LOG(DIAG_DEBUG_PERIPHERALS, "Marking buffer as free after write done p: %d, t: %d, buf_num: %d\n", peripheral, type, num); diagfwd_write_done(peripheral, type, num); } if (peripheral == APPS_DATA || ctxt == DIAG_MEMORY_DEVICE_MODE) { Loading
drivers/char/diag/diagfwd_peripheral.c +6 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,8 @@ static int check_bufsize_for_encoding(struct diagfwd_buf_t *buf, uint32_t len) } if (buf->len < max_size) { if (driver->logging_mode == DIAG_MEMORY_DEVICE_MODE) { if (driver->logging_mode == DIAG_MEMORY_DEVICE_MODE || driver->logging_mode == DIAG_MULTI_MODE) { ch = &diag_md[DIAG_LOCAL_PROC]; for (i = 0; ch != NULL && i < ch->num_tbl_entries; i++) { Loading Loading @@ -1631,6 +1632,10 @@ void diagfwd_channel_read(struct diagfwd_info *fwd_info) fail_return: diag_ws_release(); atomic_set(&temp_buf->in_busy, 0); DIAG_LOG(DIAG_DEBUG_PERIPHERALS, "Buffer for core PD is marked free, p: %d, t: %d, buf_num: %d\n", fwd_info->peripheral, fwd_info->type, GET_BUF_NUM(temp_buf->ctxt)); } static void diagfwd_queue_read(struct diagfwd_info *fwd_info) Loading