mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Mask failures in hif_post_recv_buffers
Mask failures in hif_post_recv_buffers as the oom_allocation_work provides a recovery mechanism. Change-Id: Ib495b96f9d72b25c732c3b85f982db5dc20adca7 CRs-Fixed: 2030393
This commit is contained in:
parent
a95b324a8c
commit
60ff932b38
1 changed files with 3 additions and 8 deletions
|
|
@ -1874,9 +1874,8 @@ static int hif_post_recv_buffers_for_pipe(struct HIF_CE_pipe_info *pipe_info)
|
|||
|
||||
/*
|
||||
* Try to post all desired receive buffers for all pipes.
|
||||
* Returns 0 if all desired buffers are posted,
|
||||
* non-zero if were were unable to completely
|
||||
* replenish receive buffers.
|
||||
* returns 0 as oom_allocation_work will be scheduled
|
||||
* to recover any failures.
|
||||
*/
|
||||
static int hif_post_recv_buffers(struct hif_softc *scn)
|
||||
{
|
||||
|
|
@ -1895,13 +1894,9 @@ static int hif_post_recv_buffers(struct hif_softc *scn)
|
|||
ce_state && (ce_state->htt_rx_data))
|
||||
continue;
|
||||
|
||||
if (hif_post_recv_buffers_for_pipe(pipe_info)) {
|
||||
rv = 1;
|
||||
goto done;
|
||||
}
|
||||
hif_post_recv_buffers_for_pipe(pipe_info);
|
||||
}
|
||||
|
||||
done:
|
||||
A_TARGET_ACCESS_UNLIKELY(scn);
|
||||
|
||||
return rv;
|
||||
|
|
|
|||
Loading…
Reference in a new issue