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

Commit f58533dd authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Don't allocate memory for microcode if it is already allocated



This change adds a check to avoid allocating memory for loading microcode
in case it is already allocated. This avoids memory allocation failure
for microcode during multiple tries by userspace to open the kgsl device
in case of errors.

Change-Id: I018ebdb0dab1fc13af8d85a273c1c8b477fa1e26
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 0130e341
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