Merge "kgsl: pwrctrl: Add sub_type constraint check to update expiry"
This commit is contained in:
commit
065610f845
@ -314,7 +314,7 @@ void kgsl_pwrctrl_set_constraint(struct kgsl_device *device,
|
||||
kgsl_pwrctrl_pwrlevel_change(device, constraint);
|
||||
/* Trace the constraint being set by the driver */
|
||||
trace_kgsl_constraint(device, pwrc_old->type, constraint, 1);
|
||||
} else if (pwrc_old->type == pwrc->type) {
|
||||
} else if ((pwrc_old->type == pwrc->type) && (pwrc_old->sub_type == pwrc->sub_type)) {
|
||||
pwrc_old->owner_id = id;
|
||||
pwrc_old->owner_timestamp = ts;
|
||||
pwrc_old->expires = jiffies +
|
||||
|
Loading…
Reference in New Issue
Block a user