<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/core.c, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-02-12T11:19:57Z</updated>
<entry>
<title>regulator: Fix display of null constraints for regulators</title>
<updated>2010-02-12T11:19:57Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2010-02-11T19:20:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=973e9a2795b3b41d8408a0bb6f87b783c5efc88a'/>
<id>urn:sha1:973e9a2795b3b41d8408a0bb6f87b783c5efc88a</id>
<content type='text'>
If the regulator constraints are empty and there is no voltage
reported then nothing will be added to the text displayed for the
constraints, leading to random stack data being printed. This is
unlikely to happen for practical regulators since most will at
least report a voltage but should still be fixed.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: stable@kernel.org
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path</title>
<updated>2009-12-17T10:27:28Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2009-12-15T13:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb143ac1b9f56ca9c6dc782d795acda1f60c5fd2'/>
<id>urn:sha1:eb143ac1b9f56ca9c6dc782d795acda1f60c5fd2</id>
<content type='text'>
Currently it is possible for regulator_bulk_{enable,disable} operations to
generate unbalanced regulator_{disable,enable} calls in its error path.
In case of an error only those regulators of the bulk operation which actually
had been enabled/disabled should get their original state restored.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: core.c: Small coding style cleanup (indentation fixup)</title>
<updated>2009-12-17T10:27:27Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2009-11-27T14:56:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fa2984d4691c96367d6666694ecc6744135174c6'/>
<id>urn:sha1:fa2984d4691c96367d6666694ecc6744135174c6</id>
<content type='text'>
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Handle regulators without suspend mode configuration</title>
<updated>2009-12-17T10:27:25Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-22T15:31:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=638f85c54f4fed0f8f1fbc23745a8f334112e892'/>
<id>urn:sha1:638f85c54f4fed0f8f1fbc23745a8f334112e892</id>
<content type='text'>
Since some regulators in the system may not support suspend mode
configuration we need to allow some regulators to have a missing
suspend mode configuration. Do this by requiring that disabled
regulators are explicitly flagged and then skip over regulators
that have no state specified.

Try to avoid surprises by warning the if we could set the state
but no configuration is provided.  This also ensures that an all
zeros configuration generates a warning rather than silently
disabling the regulator.

Reported-by: Joonyoung Shim &lt;jy0922.shim@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Factor out regulator name pretty printing</title>
<updated>2009-12-17T10:27:24Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-22T15:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1083c39346d482b9001944d05c09191027892226'/>
<id>urn:sha1:1083c39346d482b9001944d05c09191027892226</id>
<content type='text'>
Some of the regulator API functions have code to allow the machine
constraints to override the device supplied name for the regulator
in the constraints in order to help tie logging to supplies on the
board and disambiguate when there is more than one regulator chip
in the system. Factor this code out into a new rdev_get_name()
function and use it throughout the regulator API so that we always
use the same name.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Display actual settings with constraints</title>
<updated>2009-12-17T10:27:24Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-22T15:31:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f031b48cd2eab5fc3e4dffa06706372e90d63fe'/>
<id>urn:sha1:8f031b48cd2eab5fc3e4dffa06706372e90d63fe</id>
<content type='text'>
When voltage or current constraints are either missing or specify
a range display the actual setting along with the constraints if
we can. This can aid debugging of configuration problems.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Also lift apply_uV into machine_constraints_voltage()</title>
<updated>2009-12-17T10:27:24Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-22T15:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af5866c9cdc9e43ef775a14765fd8eab95c7fd20'/>
<id>urn:sha1:af5866c9cdc9e43ef775a14765fd8eab95c7fd20</id>
<content type='text'>
It makes sense to do all the voltage configuration in the one split
out function.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Factor out voltage constraint setup</title>
<updated>2009-12-17T10:27:23Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-19T14:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e79055d62ea6ca3c36962209f4c819614972c95a'/>
<id>urn:sha1:e79055d62ea6ca3c36962209f4c819614972c95a</id>
<content type='text'>
This allows constraints to take effect on regulators that support
voltage setting but for which the board does not specify a voltage
range (for example, because it is fixed correctly at system startup).

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Report error codes for bulk operations</title>
<updated>2009-12-17T10:27:23Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-13T12:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b307627738f1f6cbc31fad9e28a299b5fe55602'/>
<id>urn:sha1:5b307627738f1f6cbc31fad9e28a299b5fe55602</id>
<content type='text'>
If we're going to log an error we may as well log what the error
code that we're failing on is.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: Handle missing constraints in _regulator_disable()</title>
<updated>2009-11-16T09:57:16Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-10-13T12:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60ef66fcf40f0e7bc9579981aa16bd8218942a83'/>
<id>urn:sha1:60ef66fcf40f0e7bc9579981aa16bd8218942a83</id>
<content type='text'>
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
</feed>
