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

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

Merge "drivers: cpuidle: lpm-levels: Do not set affinity level for 0 mode id"

parents ee4c79c5 687d4ad9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1244,7 +1244,6 @@ int get_cluster_id(struct lpm_cluster *cluster, int *aff_lvl)

		state_id |= (level->psci_id & cluster->psci_mode_mask)
					<< cluster->psci_mode_shift;
		(*aff_lvl)++;

		/*
		 * We may have updated the broadcast timers, update
@@ -1252,6 +1251,8 @@ int get_cluster_id(struct lpm_cluster *cluster, int *aff_lvl)
		 */
		if (level->notify_rpm)
			system_sleep_update_wakeup();
		if (level->psci_id)
			(*aff_lvl)++;
	}
unlock_and_return:
	spin_unlock(&cluster->sync_lock);