<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/regmap/regmap.c, branch v3.13</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-11-26T13:16:56Z</updated>
<entry>
<title>Merge remote-tracking branches 'regmap/fix/doc' and 'regmap/fix/mmio' into regmap-linus</title>
<updated>2013-11-26T13:16:56Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-11-26T13:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=652787ab1aca35e5e85e644757f7ea2cc00681d1'/>
<id>urn:sha1:652787ab1aca35e5e85e644757f7ea2cc00681d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: make sure we unlock on failure in regmap_bulk_write</title>
<updated>2013-11-21T14:05:31Z</updated>
<author>
<name>Courtney Cavin</name>
<email>courtney.cavin@sonymobile.com</email>
</author>
<published>2013-11-20T23:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=73f080fde50de1be7ab1e62fd93287edaf0861db'/>
<id>urn:sha1:73f080fde50de1be7ab1e62fd93287edaf0861db</id>
<content type='text'>
Signed-off-by: Courtney Cavin &lt;courtney.cavin@sonymobile.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regmap: trivial comment fix (copy'n'paste error)</title>
<updated>2013-11-12T01:23:53Z</updated>
<author>
<name>Gerhard Sittig</name>
<email>gsi@denx.de</email>
</author>
<published>2013-11-11T09:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0093380c18a4bfc5526577da576335d08bdea2e5'/>
<id>urn:sha1:0093380c18a4bfc5526577da576335d08bdea2e5</id>
<content type='text'>
fix a trivial copy'n'paste error in the regmap kerneldoc, s/write/read/
for the regmap_read(), regmap_raw_read() and regmap_bulk_read() routines

Signed-off-by: Gerhard Sittig &lt;gsi@denx.de&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/topic/multi' into regmap-next</title>
<updated>2013-10-28T20:01:34Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-28T20:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=18f513db93408fdeeba68d5b0931bc26315d28b4'/>
<id>urn:sha1:18f513db93408fdeeba68d5b0931bc26315d28b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/topic/field' into regmap-next</title>
<updated>2013-10-28T20:01:33Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-28T20:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f2783f0e9cac215df5b7ee0a903adfeabde90b24'/>
<id>urn:sha1:f2783f0e9cac215df5b7ee0a903adfeabde90b24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: Only send a single buffer for async I/O if writing one register</title>
<updated>2013-10-14T21:09:26Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-10T21:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=04c50ccf0dab02923ef888a4839bfbd00de03181'/>
<id>urn:sha1:04c50ccf0dab02923ef888a4839bfbd00de03181</id>
<content type='text'>
Extend the interface for async I/O by allowing the value buffer to be
omitted and sending the value as part of the register buffer, minimising
the number of separate hardware operations required.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regmap: new API regmap_multi_reg_write() definition</title>
<updated>2013-10-14T14:09:16Z</updated>
<author>
<name>Anthony Olech</name>
<email>anthony.olech.opensource@diasemi.com</email>
</author>
<published>2013-10-11T14:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e33fabd365596178e72f62bb4b89f0aaad0509ad'/>
<id>urn:sha1:e33fabd365596178e72f62bb4b89f0aaad0509ad</id>
<content type='text'>
New API regmap_multi_reg_write() is defined that allows a set of reg,val
pairs to be written to a I2C client device as one block transfer from the
point of view of a single I2C master system.

A simple demonstration implementation is included that just splits the
block write request into a sequence of single register writes.

The implementation will be modified later to support those I2C clients
that implement the alternative non-standard MULTIWRITE block write mode
so to achieve a single I2C transfer that will be atomic even in multiple
I2C master systems.

Signed-off-by: Anthony Olech &lt;anthony.olech.opensource@diasemi.com&gt;
Signed-off-by: David Dajun Chen &lt;david.chen@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/fix/core' into regmap-async</title>
<updated>2013-10-10T20:50:18Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-10T20:49:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7ccda983931f64e9c89a9b16e6d4adeb92817d96'/>
<id>urn:sha1:7ccda983931f64e9c89a9b16e6d4adeb92817d96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: Use async I/O for patch application</title>
<updated>2013-10-10T20:15:21Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-10T19:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1a25f26138cde2b83fd74ead6da0bbd4b6c42b60'/>
<id>urn:sha1:1a25f26138cde2b83fd74ead6da0bbd4b6c42b60</id>
<content type='text'>
Try to speed up patch application a little using async I/O.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regmap: Fix regmap_bulk_write single-rw mutex deadlock</title>
<updated>2013-10-09T17:47:27Z</updated>
<author>
<name>Anthony Olech</name>
<email>anthony.olech.opensource@diasemi.com</email>
</author>
<published>2013-10-09T16:44:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4174a7a4f763ed51809a4dbca06de054d31c1d38'/>
<id>urn:sha1:4174a7a4f763ed51809a4dbca06de054d31c1d38</id>
<content type='text'>
When regmap_bulk_write() is called with the map-&gt;use_single_rw flag set
an immediate mutex deadlock happens because regmap_raw_write() is called
after obtaining the mutex and regmap_raw_write() itself then tries to
obtain the mutex as well.

It is obvious that no one other than myself tried it with a real device.
I did, but only for the purposes of an experiment and demonstration.

But even if this situation will never ever happen with a real device, it
is a bug and therefore should be fixed.

Signed-off-by: Anthony Olech &lt;anthony.olech.opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
