Merge "msm: kgsl: Allow state transition to nap from valid states"

This commit is contained in:
qctecmdr 2020-07-28 09:28:33 -07:00 • committed by Gerrit - the friendly Code Review server
commit 74dea4a42e

View file

@ -1869,6 +1869,7 @@ _nap(struct kgsl_device *device)
kgsl_pwrctrl_set_state(device, KGSL_STATE_NAP);
/* fallthrough */
case KGSL_STATE_SLUMBER:
break;
case KGSL_STATE_AWARE:
dev_warn(device->dev,
"transition AWARE -> NAP is not permitted\n");