mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
msm: kgsl: Return correctly from gmu_core_dev_wait_for_lowest_idle
Return value from a6xx_gmu_wait_for_lowest_idle is not handled properly in its core function. Return correctly from core function to handle error properly. This will help to trigger GMU_FAULT and collect gmu snapshot from gmu_stop or adreno_stop in case of any idle timeout. Change-Id: Iedffac031d11bf8eebadfcb10857c4e99142037f Signed-off-by: Pankaj Gupta <[email protected]>
This commit is contained in:
parent
ea01925637
commit
d4b3268d66
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ int gmu_core_dev_wait_for_lowest_idle(struct kgsl_device *device)
|
|||
struct gmu_dev_ops *ops = GMU_DEVICE_OPS(device);
|
||||
|
||||
if (ops && ops->wait_for_lowest_idle)
|
||||
ops->wait_for_lowest_idle(device);
|
||||
return ops->wait_for_lowest_idle(device);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue