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

Commit fff15bef authored by Mark Brown's avatar Mark Brown
Browse files

regulator: core: Say what unsupportable voltage constraints are

parent dd8004af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -883,7 +883,9 @@ static int machine_constraints_voltage(struct regulator_dev *rdev,

		/* final: [min_uV..max_uV] valid iff constraints valid */
		if (max_uV < min_uV) {
			rdev_err(rdev, "unsupportable voltage constraints\n");
			rdev_err(rdev,
				 "unsupportable voltage constraints %u-%uuV\n",
				 min_uV, max_uV);
			return -EINVAL;
		}