commit | adaac459759db4a1fd35baddbe47bac700095496 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Sun Aug 30 09:33:53 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Sun Aug 30 10:19:22 2015 +0100 |
tree | 189657c7dffdc13de7f780eb35c1299fb8dbf3fa | |
parent | 10524612e8aa98804190ec7d0b380cf99c3bdbd7 [diff] |
regmap: Introduce max_raw_read/write for regmap_bulk_read/write 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 <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>