Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

This fixes an integration issue with the regulator device tree bindings
which shook out in -rc. The bindings were overly enthusiatic when
deciding to set a voltage on a regulator and would try to set zero volts
on an unconfigured regulator which isn't supported.

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
regulator: Set apply_uV only when min and max voltages are defined

+1 -1
+1 -1
drivers/regulator/of_regulator.c
··· 35 35 if (constraints->min_uV != constraints->max_uV) 36 36 constraints->valid_ops_mask |= REGULATOR_CHANGE_VOLTAGE; 37 37 /* Only one voltage? Then make sure it's set. */ 38 - if (constraints->min_uV == constraints->max_uV) 38 + if (min_uV && max_uV && constraints->min_uV == constraints->max_uV) 39 39 constraints->apply_uV = true; 40 40 41 41 uV_offset = of_get_property(np, "regulator-microvolt-offset", NULL);