<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/virtual.c, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-09-22T12:32:39Z</updated>
<entry>
<title>regulator: Improve virtual consumer probe error handling</title>
<updated>2009-09-22T12:32:39Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-07-21T15:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72b86876d437a33253a47373579787b6dcc3bd36'/>
<id>urn:sha1:72b86876d437a33253a47373579787b6dcc3bd36</id>
<content type='text'>
Report errors to the user and try harder to clean up if we're not
able to probe.

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: Make virtual consumer a bit more chatty</title>
<updated>2009-09-22T12:32:35Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-06-17T14:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5d2abce4373810c0109c5939c0094ac16698625'/>
<id>urn:sha1:a5d2abce4373810c0109c5939c0094ac16698625</id>
<content type='text'>
This makes it easier to read the logs when doing testing.

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: Make virtual consumer use dev_printk</title>
<updated>2009-09-22T12:32:35Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-06-17T14:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a07ac217146e0fac18c80d93e02109f2c96574d0'/>
<id>urn:sha1:a07ac217146e0fac18c80d93e02109f2c96574d0</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>
<entry>
<title>regulator: Report regulator_get() failure in virtual consumer</title>
<updated>2009-09-22T12:32:35Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-06-15T19:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d61c3d56e23b3548a91b70ecce9dc226a8655a57'/>
<id>urn:sha1:d61c3d56e23b3548a91b70ecce9dc226a8655a57</id>
<content type='text'>
The core will no longer complain so we should log an error here.

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: Set MODULE_ALIAS for regulator drivers</title>
<updated>2009-06-15T10:18:24Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-04-28T10:13:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38c53c89139e6140b895b419b18c586e8593a6e8'/>
<id>urn:sha1:38c53c89139e6140b895b419b18c586e8593a6e8</id>
<content type='text'>
Several of the regulator drivers didn't have MODULE_ALIAS so couldn't be
auto loaded. Add the MODULE_ALIAS in case they do get built as modules.

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/virtual: fix strings compare predicates</title>
<updated>2009-04-28T17:58:07Z</updated>
<author>
<name>Mike Rapoport</name>
</author>
<published>2009-04-26T08:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa61d558f0f9f8b303b9cab1e51e9886896ba1a3'/>
<id>urn:sha1:aa61d558f0f9f8b303b9cab1e51e9886896ba1a3</id>
<content type='text'>
Signed-off-by: Mike Rapoport &lt;mike@compulab.co.il&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: Mark attributes table for virtual regulator static</title>
<updated>2009-03-31T08:56:22Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2009-01-19T13:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fefdae42465facfa26d41a7f0010f1ade32c3386'/>
<id>urn:sha1:fefdae42465facfa26d41a7f0010f1ade32c3386</id>
<content type='text'>
It's not exported.

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: minor cleanup of virtual consumer</title>
<updated>2009-03-31T08:56:20Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2009-01-16T00:13:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9485397aa2195e82da6373586a66689526675ad4'/>
<id>urn:sha1:9485397aa2195e82da6373586a66689526675ad4</id>
<content type='text'>
On Thu, 15 Jan 2009 16:10:22 -0800
Andrew Morton &lt;akpm@linux-foundation.org&gt; wrote:

&gt; On Wed, 14 Jan 2009 13:16:27 -0800
&gt; David Brownell &lt;david-b@pacbell.net&gt; wrote:
&gt;
&gt; &gt; From: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
&gt; &gt;
&gt; &gt; Minor cleanup to the regulator set_mode sysfs support:
&gt; &gt; switch to sysfs_streq() in set_mode(), which is also
&gt; &gt; a code shrink.  Use the same strings that get_mode()
&gt; &gt; uses, shrinking data too.
&gt; &gt;
&gt; &gt; Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
&gt; &gt; ---
&gt; &gt;  drivers/regulator/virtual.c |    8 ++++----
&gt; &gt;  1 file changed, 4 insertions(+), 4 deletions(-)
&gt; &gt;
&gt; &gt; --- a/drivers/regulator/virtual.c
&gt; &gt; +++ b/drivers/regulator/virtual.c
&gt; &gt; @@ -226,13 +226,13 @@ static ssize_t set_mode(struct device *d
&gt; &gt;  	unsigned int mode;
&gt; &gt;  	int ret;
&gt; &gt;
&gt; &gt; -	if (strncmp(buf, "fast", strlen("fast")) == 0)
&gt; &gt; +	if (sysfs_streq(buf, "fast\n") == 0)
&gt; &gt;  		mode = REGULATOR_MODE_FAST;
&gt; &gt; -	else if (strncmp(buf, "normal", strlen("normal")) == 0)
&gt; &gt; +	else if (sysfs_streq(buf, "normal\n") == 0)
&gt; &gt;  		mode = REGULATOR_MODE_NORMAL;
&gt; &gt; -	else if (strncmp(buf, "idle", strlen("idle")) == 0)
&gt; &gt; +	else if (sysfs_streq(buf, "idle\n") == 0)
&gt; &gt;  		mode = REGULATOR_MODE_IDLE;
&gt; &gt; -	else if (strncmp(buf, "standby", strlen("standby")) == 0)
&gt; &gt; +	else if (sysfs_streq(buf, "standby\n") == 0)
&gt; &gt;  		mode = REGULATOR_MODE_STANDBY;
&gt;
&gt; we don't need the \n's, do we?

oh, it's for the string sharing.  Sneaky.

I wonder how many people will try to fix that up for us?

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: minor cleanup of virtual consumer</title>
<updated>2009-03-31T08:56:19Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2009-01-14T21:16:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93e14baa4494607efe81608725f591e3ba31e3c1'/>
<id>urn:sha1:93e14baa4494607efe81608725f591e3ba31e3c1</id>
<content type='text'>
Minor cleanup to the regulator set_mode sysfs support:
switch to sysfs_streq() in set_mode(), which is also
a code shrink.  Use the same strings that get_mode()
uses, shrinking data too.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&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: regulator test harness</title>
<updated>2008-07-30T09:10:21Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2008-04-30T16:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c080909eef2b3e7fba70f57cde3264fba95bdf09'/>
<id>urn:sha1:c080909eef2b3e7fba70f57cde3264fba95bdf09</id>
<content type='text'>
This provides a virtual regulator test harness which exposes a sysfs
interface for setting power requirements, intended for test purposes only.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Signed-off-by: Liam Girdwood &lt;lg@opensource.wolfsonmicro.com&gt;
</content>
</entry>
</feed>
