Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 659648a6 authored by Atish Kumar Patra's avatar Atish Kumar Patra
Browse files

soc: qcom: glink: Use GFP_ATOMIC in memory allocation



All the rx notification callbacks are invoked from atomic
context. Memory allocation using GFP_KERNEL flags might sleep.

As the memory allocated during rx callback is immediately freed
upon worker thread completion, GFP_ATOMIC flag can be used to
allocate the memory.

CRs-Fixed: 896463
Change-Id: I722000e594e82b1fc1e72eade3f95e881577baf3
Signed-off-by: default avatarAtish Kumar Patra <apatra@codeaurora.org>
parent 1d6b7340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment