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

Commit 8642ebd6 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

adreno_tz: Check that partner_gpu_profile is not NULL before using it



The governor events are scheduled work tasks so it is possible for the
TZ to be shut down after the event is scheduled but before it is run.
If that happens partner_gpu_profile might be NULL so check it to be
safe before executing any of the event request.

Change-Id: Ic0dedbad428198054ec46d30fbebba03edb5d5d7
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent d5f479c1
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