mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Penang: kasan panic
Penang: resolve kasan panic. Change-Id: I69112a4f4717c8f8c8bf958316ae9a0516dad945 Signed-off-by: YangYi <yangyi31@motorola.com> Reviewed-on: https://gerrit.mot.com/2417581 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yuchang Guo <guoyc1@lenovo.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a65aa65ad1
commit
0ab43c2ab5
1 changed files with 1 additions and 3 deletions
|
|
@ -956,16 +956,14 @@ int qrtr_endpoint_post(struct qrtr_endpoint *ep, const void *data, size_t len)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (sock_queue_rcv_skb(&ipc->sk, skb))
|
||||
goto err;
|
||||
|
||||
/**
|
||||
* Force wakeup for all packets except for sensors and blacklisted services
|
||||
* from adsp side
|
||||
*/
|
||||
if ((node->nid != 9 && node->nid != 5) ||
|
||||
(node->nid == 5 && wake))
|
||||
(node->nid == 5 && wake))
|
||||
pm_wakeup_ws_event(node->ws, qrtr_wakeup_ms, true);
|
||||
|
||||
qrtr_port_put(ipc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue