qcacmn: Log runtime PM resume source

It is very critical to know the source of who requests runtime
PM resume to debug all kinds of runtime PM related issues. Hence
log them accordingly.

Change-Id: I9551830b1cb567fd29e9d9bbec18705f9cc5e9ec
CRs-fixed: 2496481
Цей коміт міститься в:
Yue Ma
2019-07-23 15:57:48 -07:00
зафіксовано nshrivas
джерело 41e3af09f7
коміт 4986b2588b
4 змінених файлів з 109 додано та 10 видалено

Переглянути файл

@@ -124,6 +124,10 @@ typedef HTC_PACKET *(*HTC_EP_RECV_ALLOC)(void *,
HTC_ENDPOINT_ID Endpoint,
int Length);
/* Optional per service connection callback to log packet information.
*/
typedef void (*HTC_EP_LOG_PKT)(void *, HTC_PACKET *);
enum htc_send_full_action {
/* packet that overflowed should be kept in the queue */
HTC_SEND_FULL_KEEP = 0,
@@ -183,6 +187,8 @@ struct htc_ep_callbacks {
* are empty
*/
int RecvRefillWaterMark;
/* OPTIONAL callback to log packet information */
HTC_EP_LOG_PKT ep_log_pkt;
};
/* service connection information */