<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/regmap/regmap.c, branch v4.3</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=v4.3</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-09-04T16:22:10Z</updated>
<entry>
<title>Merge remote-tracking branches 'regmap/topic/lockdep' and 'regmap/topic/seq-delay' into regmap-next</title>
<updated>2015-09-04T16:22:10Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-04T16:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=072502a67c9164625288cca17704808e6c06273f'/>
<id>urn:sha1:072502a67c9164625288cca17704808e6c06273f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regmap/topic/debugfs' and 'regmap/topic/force-update' into regmap-next</title>
<updated>2015-09-04T16:22:09Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-04T16:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=84fb9015d20dc12a2d36f7d775700a53cc45ad90'/>
<id>urn:sha1:84fb9015d20dc12a2d36f7d775700a53cc45ad90</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/topic/core' into regmap-next</title>
<updated>2015-09-04T16:22:08Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-04T16:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a458a6d411b86de7a2a8e51f9016cf017d5ed545'/>
<id>urn:sha1:a458a6d411b86de7a2a8e51f9016cf017d5ed545</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regmap/fix/raw' into regmap-linus</title>
<updated>2015-09-04T16:22:07Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-04T16:22:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f74741615368af1b8401be4b7a6f0b9ccbc2420a'/>
<id>urn:sha1:f74741615368af1b8401be4b7a6f0b9ccbc2420a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'topic/smbus-block' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into regmap-core</title>
<updated>2015-09-04T16:16:39Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-04T16:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=04782ca20a8ebb5acf0c35756a38964ae5ea7321'/>
<id>urn:sha1:04782ca20a8ebb5acf0c35756a38964ae5ea7321</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: fix a NULL pointer dereference in __regmap_init</title>
<updated>2015-08-31T10:38:36Z</updated>
<author>
<name>Sergey SENOZHATSKY</name>
<email>sergey.senozhatsky.work@gmail.com</email>
</author>
<published>2015-08-31T09:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=17649c90ff4c5246bb4babf6260029968a6d119d'/>
<id>urn:sha1:17649c90ff4c5246bb4babf6260029968a6d119d</id>
<content type='text'>
__regmap_init() may receive a NULL `struct regmap_bus *bus' pointer,
for example, from snd_hdac_regmap_init(), and it make sure that it
does not NULL deference `bus`, except around -&gt;max_raw_read and
-&gt;max_raw_write initialisation. Add missing check.

Signed-off-by: Sergey Senozhatsky &lt;sergey.senozhatsky@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: Support bulk reads for devices without raw formatting</title>
<updated>2015-08-31T10:15:07Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-08-28T19:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d5b98eb12420ce856caaf57dc5256eedc56a3747'/>
<id>urn:sha1:d5b98eb12420ce856caaf57dc5256eedc56a3747</id>
<content type='text'>
When doing a bulk read from a device which lacks raw I/O support we fall
back to doing register at a time reads but we still use the raw
formatters in order to render the data into the word size used by the
device (since bulk reads still operate on the device word size rather
than unsigned ints).  This means that devices without raw formatting
such as those that provide reg_read() are not supported.  Provide
handling for them by copying the values read into native endian values
of the appropriate size.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: Add raw_write/read checks for max_raw_write/read sizes</title>
<updated>2015-08-30T09:19:22Z</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2015-08-30T07:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c335931ed9d22c30017cf957518262c2fe6502ce'/>
<id>urn:sha1:c335931ed9d22c30017cf957518262c2fe6502ce</id>
<content type='text'>
Check in regmap_raw_read() and regmap_raw_write() for correct maximum
sizes of the operations. Return -E2BIG if this size is not supported
because it is too big.

Also this patch causes an uninitialized variable warning so it
initializes ret (although not necessary).

Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: regmap max_raw_read/write getter functions</title>
<updated>2015-08-30T09:19:22Z</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2015-08-30T07:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f50c9eb4e9304cf555206c93152f580c0e7213b2'/>
<id>urn:sha1:f50c9eb4e9304cf555206c93152f580c0e7213b2</id>
<content type='text'>
Add functions to access the maximum size we can read/write using
regmap_raw_read/write().

This helps drivers that need to know how much they can write with the
raw functions without problems. There are some devices (e.g. bmc150)
that have fifos as registers which need to be read in specific chunks
otherwise samples are dropped.

Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: Introduce max_raw_read/write for regmap_bulk_read/write</title>
<updated>2015-08-30T09:19:22Z</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2015-08-30T07:33:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=adaac459759db4a1fd35baddbe47bac700095496'/>
<id>urn:sha1:adaac459759db4a1fd35baddbe47bac700095496</id>
<content type='text'>
There are some buses which have a limit on the maximum number of bytes
that can be send/received. An example for this is
I2C_FUNC_SMBUS_I2C_BLOCK which does not support any reads/writes of more
than 32 bytes. The regmap_bulk operations should still be able to
utilize the full 32 bytes in this case.

Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
