diff options
| author | Deepak Kumar <dkumar@codeaurora.org> | 2018-08-01 11:57:33 +0530 |
|---|---|---|
| committer | Archana Sriram <apsrir@codeaurora.org> | 2018-10-29 15:14:01 +0530 |
| commit | 82150f24c0388731f781be2b0425aad3a0d390f4 (patch) | |
| tree | 23f50b95de6ecda50eab8a66989300ade5bbc42d /include/linux/mod_devicetable.h | |
| parent | d8bc349f5414150a5d59ea73b2d0a2b1fa270043 (diff) | |
msm: kgsl: Don't halt dispatcher if device is not in SUSPEND state
Add a check to make sure device actually transitioned to SUSPEND
state before halting dispatcher in adreno_suspend_device function.
kgsl_pwrctrl_change_state(device,KGSL_STATE_SUSPEND) in
kgsl_suspend_device can return zero without actually changing state
to SUSPEND if device state is NONE or INIT.
Change-Id: I4a5a69007c71651ea2cf7fa7360c960c6856031e
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
Diffstat (limited to 'include/linux/mod_devicetable.h')
0 files changed, 0 insertions, 0 deletions
