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

Commit 0ce0147e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpuidle: lpm-levels: Use correct node variable in failure print"

parents a918a1b1 64e0f8f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -618,7 +618,7 @@ static int parse_cpu_levels(struct device_node *node, struct lpm_cluster *c)
		ret = of_property_read_u32(node, key, &c->cpu->psci_mode_shift);
		ret = of_property_read_u32(node, key, &c->cpu->psci_mode_shift);
		if (ret) {
		if (ret) {
			pr_err("Failed reading %s on device %s\n", key,
			pr_err("Failed reading %s on device %s\n", key,
					n->name);
					node->name);
			return ret;
			return ret;
		}
		}
		key = "qcom,psci-mode-mask";
		key = "qcom,psci-mode-mask";
@@ -626,7 +626,7 @@ static int parse_cpu_levels(struct device_node *node, struct lpm_cluster *c)
		ret = of_property_read_u32(node, key, &c->cpu->psci_mode_mask);
		ret = of_property_read_u32(node, key, &c->cpu->psci_mode_mask);
		if (ret) {
		if (ret) {
			pr_err("Failed reading %s on device %s\n", key,
			pr_err("Failed reading %s on device %s\n", key,
					n->name);
					node->name);
			return ret;
			return ret;
		}
		}
	}
	}