commit | f50c9eb4e9304cf555206c93152f580c0e7213b2 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Sun Aug 30 09:33:54 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Sun Aug 30 10:19:22 2015 +0100 |
tree | 00ad58396ef9f6263e56c3232aa6b521960658b1 | |
parent | adaac459759db4a1fd35baddbe47bac700095496 [diff] |
regmap: regmap max_raw_read/write getter functions 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 <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>