mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 02:47:23 +07:00
dc9ceed6a1
The expected semantic for something expressed as a tolerance is that it should deliver the specified value with some deviation allowed but this is not what set_voltage_tol() currently does. Instead it just passes the maximum possible range to set_voltage() which will typically result in a voltage aimed at lower than the target voltage. Instead first try to set a voltage between the target voltage and the upper limit, then fall back on the full range. This will be much more robust against physical variation in systems and makes the API behave more like users would expect. Signed-off-by: Mark Brown <broonie@linaro.org> |
||
---|---|---|
.. | ||
ab8500.h | ||
consumer.h | ||
db8500-prcmu.h | ||
driver.h | ||
fan53555.h | ||
fixed.h | ||
gpio-regulator.h | ||
lp872x.h | ||
lp3971.h | ||
lp3972.h | ||
machine.h | ||
max1586.h | ||
max8649.h | ||
max8660.h | ||
max8952.h | ||
max8973-regulator.h | ||
of_regulator.h | ||
tps6507x.h | ||
tps51632-regulator.h | ||
tps62360.h | ||
userspace-consumer.h |