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

Commit 6a0060e3 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Return zero from wait_for_active_transition for no GMU case



gmu_core_dev_wait_for_active_transition is called from common A6XX
preemption code. Return success from it for no GMU case to make
sure this code path is functional for no GMU devices.

Change-Id: I3235c22602731a61930eaa0ca63a7cc1a2a83825
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 8e1ab7a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -370,5 +370,5 @@ int gmu_core_dev_wait_for_active_transition(struct kgsl_device *device)
	if (ops && ops->wait_for_active_transition)
		return ops->wait_for_active_transition(device);

	return -ETIMEDOUT;
	return 0;
}