<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/regmap, branch v3.19</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.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-11-21T11:32:36Z</updated>
<entry>
<title>Merge remote-tracking branches 'regmap/topic/ac97' and 'regmap/topic/headers' into regmap-next</title>
<updated>2014-11-21T11:32:36Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-11-21T11:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a63b87838a592577c7134a3cb89c74e59b9dd9c1'/>
<id>urn:sha1:a63b87838a592577c7134a3cb89c74e59b9dd9c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: ac97: Add generic AC'97 callbacks</title>
<updated>2014-11-19T10:28:14Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-11-18T18:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=22853223d15b3a626de62cf9e40ce2d3881bc0a8'/>
<id>urn:sha1:22853223d15b3a626de62cf9e40ce2d3881bc0a8</id>
<content type='text'>
Use the recently added support for bus operations to provide a standard
mapping for AC'97 register I/O.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
<entry>
<title>regmap: cache: Sort include headers alphabetically</title>
<updated>2014-10-20T11:25:06Z</updated>
<author>
<name>Xiubo Li</name>
<email>Li.Xiubo@freescale.com</email>
</author>
<published>2014-10-09T09:02:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e39be3a31b8f16d92fff096e92b593a9bffecb93'/>
<id>urn:sha1:e39be3a31b8f16d92fff096e92b593a9bffecb93</id>
<content type='text'>
If the inlcude headers aren't sorted alphabetically, then the
logical choice is to append new ones, however that creates a
lot of potential for conflicts or duplicates because every change
will then add new includes in the same location.

Signed-off-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: cache: Fix possible ZERO_SIZE_PTR pointer dereferencing error.</title>
<updated>2014-10-20T11:25:02Z</updated>
<author>
<name>Xiubo Li</name>
<email>Li.Xiubo@freescale.com</email>
</author>
<published>2014-10-09T09:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb70067e4a2cc45d273864f071fd6cf62143137a'/>
<id>urn:sha1:fb70067e4a2cc45d273864f071fd6cf62143137a</id>
<content type='text'>
When all the registers are volatile(unlikely, but logically and mostly
will happen for some 'device' who has very few registers), then the
count will be euqal to 0, then kmalloc() will return ZERO_SIZE_PTR,
which equals to ((void *)16).

So this patch fix this with just doing the zero check before calling
kmalloc(). If the count == 0, so we can make sure that all the registers
are volatile, so no cache is need.

Signed-off-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: cache: use kmalloc_array instead of kmalloc</title>
<updated>2014-10-20T11:25:02Z</updated>
<author>
<name>Xiubo Li</name>
<email>Li.Xiubo@freescale.com</email>
</author>
<published>2014-10-09T09:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=06f9c24e55075e50ebc8b249a7853ad31bc1b3d1'/>
<id>urn:sha1:06f9c24e55075e50ebc8b249a7853ad31bc1b3d1</id>
<content type='text'>
This patch fixes checkpatch.pl warning for regmap cache.
WARNING : prefer kmalloc_array over kmalloc with multiply

Signed-off-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: cache: speed regcache_hw_init() up.</title>
<updated>2014-10-20T11:25:01Z</updated>
<author>
<name>Xiubo Li</name>
<email>Li.Xiubo@freescale.com</email>
</author>
<published>2014-10-09T09:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fbba43c527d851088a891ed83346d5cc9f095b64'/>
<id>urn:sha1:fbba43c527d851088a891ed83346d5cc9f095b64</id>
<content type='text'>
This may speed regcache_hw_init() up for some cases that there
has volatile registers.

Signed-off-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: cache: fix errno in regcache_hw_init()</title>
<updated>2014-10-20T11:25:01Z</updated>
<author>
<name>Xiubo Li</name>
<email>Li.Xiubo@freescale.com</email>
</author>
<published>2014-10-09T09:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ba3f1c85a6e05e0ff90215d817249617fcbee523'/>
<id>urn:sha1:ba3f1c85a6e05e0ff90215d817249617fcbee523</id>
<content type='text'>
When kmalloc() fails, we should return -ENOMEM.

Signed-off-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: cache: cleanup regcache_hw_init()</title>
<updated>2014-10-20T11:25:01Z</updated>
<author>
<name>Xiubo Li</name>
<email>Li.Xiubo@freescale.com</email>
</author>
<published>2014-10-09T09:02:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5bd83ed0984b0b0ac51d648b0ec167b36291f87e'/>
<id>urn:sha1:5bd83ed0984b0b0ac51d648b0ec167b36291f87e</id>
<content type='text'>
Remove the redundant code for regmap cache.

Signed-off-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/topic/cache' into regmap-next</title>
<updated>2014-09-29T19:49:42Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-09-29T19:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f5b313a2bcd4c436560c044c726d9ad84a3e4bb3'/>
<id>urn:sha1:f5b313a2bcd4c436560c044c726d9ad84a3e4bb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/topic/dt-endian' into regmap-next</title>
<updated>2014-09-29T19:49:42Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-09-29T19:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=45942c310da8eadc603e7d2332897909c1da4b70'/>
<id>urn:sha1:45942c310da8eadc603e7d2332897909c1da4b70</id>
<content type='text'>
</content>
</entry>
</feed>
