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

Commit bada91e3 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: cpuidle: lpm-levels: Correctly check for list empty"

parents 94378a20 b27ecead
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ static uint32_t least_cluster_latency(struct lpm_cluster *cluster,
	uint32_t latency = 0;
	int i;

	if (!cluster->list.next) {
	if (list_empty(&cluster->list)) {
		for (i = 0; i < cluster->nlevels; i++) {
			level = &cluster->levels[i];
			pwr_params = &level->pwr;