<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/regulator, branch v3.7.8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/regulator?h=v3.7.8</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/regulator?h=v3.7.8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-02-14T18:47:59Z</updated>
<entry>
<title>regulator: s2mps11: fix incorrect register for buck10</title>
<updated>2013-02-14T18:47:59Z</updated>
<author>
<name>Alim Akhtar</name>
<email>alim.akhtar@samsung.com</email>
</author>
<published>2013-01-30T13:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9ba54b84e8d588c6403275ed3835820e04ff4cf5'/>
<id>urn:sha1:9ba54b84e8d588c6403275ed3835820e04ff4cf5</id>
<content type='text'>
commit c76edd52bf19c9d01da7edc4ff04d3707c299779 upstream.

For BUCK10 the control registers are wrongly set as buck9 control register
This patch corrects the control registers for buck10

Signed-off-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: clear state each invocation of of_regulator_match</title>
<updated>2013-02-14T18:47:59Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2013-01-29T19:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7e027c2b4a655e7864f3d8e99e7bff6c5c518c0a'/>
<id>urn:sha1:7e027c2b4a655e7864f3d8e99e7bff6c5c518c0a</id>
<content type='text'>
commit a2f95c363701deba2205f81929b40222ea6f4f80 upstream.

of_regulator_match() saves some dynamcially allocated state into the
match table that's passed to it. By implementation and not contract, for
each match table entry, if non-NULL state is already present,
of_regulator_match() will not overwrite it. of_regulator_match() is
typically called each time a regulator is probe()d. This means it is
called with the same match table over and over again if a regulator
triggers deferred probe. This results in stale, kfree()d data being left
in the match table from probe to probe, which causes a variety of crashes
or use of invalid data.

Explicitly free all output state from of_regulator_match() before
generating new results in order to avoid this.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: max8998: fix incorrect min_uV value for ldo10</title>
<updated>2013-02-14T18:47:59Z</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2013-01-25T08:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=42e14e4033ccc1f2093c4cd2f85272923dbdb893'/>
<id>urn:sha1:42e14e4033ccc1f2093c4cd2f85272923dbdb893</id>
<content type='text'>
commit 36a6f8c035760dcbd0c3acb4c2fd56268588a9cb upstream.

Correct value for minimal voltage for ldo10 output is 950000 uV. This
patch fixes the typo introduced by patch adf6178ad5552a7f2f742a8c85343c50
("regulator: max8998: Use uV in voltage_map_desc"), what solves broken
probe of max8998 in v3.8-rc4.

Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: max8998: Ensure enough delay time for max8998_set_voltage_buck_time_sel</title>
<updated>2013-01-17T16:46:39Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2013-01-09T11:34:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0e3f380e4da94e19a2e32fa00a144bed52aa561a'/>
<id>urn:sha1:0e3f380e4da94e19a2e32fa00a144bed52aa561a</id>
<content type='text'>
commit 81d0a6ae7befb24c06f4aa4856af7f8d1f612171 upstream.

Use DIV_ROUND_UP to prevent truncation by integer division issue.
This ensures we return enough delay time.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: max8998: Use uV in voltage_map_desc</title>
<updated>2013-01-17T16:46:39Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2012-12-28T09:10:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d7fe0a4e2263fa4c01be523b983b5781edb19ae3'/>
<id>urn:sha1:d7fe0a4e2263fa4c01be523b983b5781edb19ae3</id>
<content type='text'>
commit adf6178ad5552a7f2f742a8c85343c50f080c412 upstream.

Integer division may truncate.
This happens when pdata-&gt;buckx_voltagex setting is not align with 1000 uV.
Thus use uV in voltage_map_desc, this ensures the selected voltage won't less
than pdata buckx_voltagex settings.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: max8997: Use uV in voltage_map_desc</title>
<updated>2013-01-17T16:46:39Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2012-12-28T09:09:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e25286fe7b20849d6e3b447d513b16a1423a76ef'/>
<id>urn:sha1:e25286fe7b20849d6e3b447d513b16a1423a76ef</id>
<content type='text'>
commit bc3b7756b5ff66828acf7bc24f148d28b8d61108 upstream.

Current code does integer division (min_vol = min_uV / 1000) before pass
min_vol to max8997_get_voltage_proper_val().
So it is possible min_vol is truncated to a smaller value.

For example, if the request min_uV is 800900 for ldo.
min_vol = 800900 / 1000 = 800 (mV)
Then max8997_get_voltage_proper_val returns 800 mV for this case which is lower
than the requested voltage.

Use uV rather than mV in voltage_map_desc to prevent truncation by integer
division.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: s2mps11: Fix ramp delay value shift operation</title>
<updated>2013-01-17T16:45:56Z</updated>
<author>
<name>Sangbeom Kim</name>
<email>sbkim73@samsung.com</email>
</author>
<published>2012-11-24T02:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7b9442906ecd833be4d67a8f9bfa161155a32de6'/>
<id>urn:sha1:7b9442906ecd833be4d67a8f9bfa161155a32de6</id>
<content type='text'>
commit f7ebaaeb0b4b97b20c1816f11884e7bfe610a2fa upstream.

This patch fix the abnormal ramp delay setting.
The shift operation was wrong.

Signed-off-by: Sangbeom Kim &lt;sbkim73@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>regulator: wm831x: Set the new rather than old value for DVS VSEL</title>
<updated>2013-01-17T16:45:44Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-11-20T01:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c035745613eb1a144575b9660c01c6aafa13d5d5'/>
<id>urn:sha1:c035745613eb1a144575b9660c01c6aafa13d5d5</id>
<content type='text'>
commit 13ae633cf729b0ecb677b75b04886ff8fada8fad upstream.

Reported-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regulator/fix/gpio', 'regulator/fix/put' and 'regulator/fix/supp-volt' into tmp</title>
<updated>2012-11-15T02:16:02Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-11-15T02:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ecb48c337b1814aefa9f8b33f4ee93d0ab955902'/>
<id>urn:sha1:ecb48c337b1814aefa9f8b33f4ee93d0ab955902</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regulator: fix voltage check in regulator_is_supported_voltage()</title>
<updated>2012-11-15T02:14:18Z</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2012-11-13T08:48:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f0f98b19e23d4426ca185e3d4ca80e6aff5ef51b'/>
<id>urn:sha1:f0f98b19e23d4426ca185e3d4ca80e6aff5ef51b</id>
<content type='text'>
regulator_is_supported_voltage() should return true only if the voltage
of fixed/constant regulator is between min_uV and max_uV.

Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
</feed>
