Home
last modified time | relevance | path

Searched hist:"8 a093049" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dof_regulator.c8a093049 Wed Jan 25 03:31:45 CST 2012 Karol Lewandowski <k.lewandowsk@samsung.com> regulator: Set apply_uV only when min and max voltages are defined

apply_uV is errornously set when regulator is instantiated from device
tree, even when it doesn't contain any voltage constraints.

This commit fixes error:

machine_constraints_voltage: CHARGER: failed to apply 0uV constraint

for following regulator description in DTS:

CHARGER {
regulator-min-microamp = <100000>;
regulator-max-microamp = <200000>;
}

Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
8a093049 Wed Jan 25 03:31:45 CST 2012 Karol Lewandowski <k.lewandowsk@samsung.com> regulator: Set apply_uV only when min and max voltages are defined

apply_uV is errornously set when regulator is instantiated from device
tree, even when it doesn't contain any voltage constraints.

This commit fixes error:

machine_constraints_voltage: CHARGER: failed to apply 0uV constraint

for following regulator description in DTS:

CHARGER {
regulator-min-microamp = <100000>;
regulator-max-microamp = <200000>;
}

Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>