regmap: regmap max_raw_read/write getter functions
authorMarkus Pargmann <mpa@pengutronix.de>
Sun, 30 Aug 2015 07:33:54 +0000 (09:33 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 30 Aug 2015 09:19:22 +0000 (10:19 +0100)
commitf50c9eb4e9304cf555206c93152f580c0e7213b2
tree00ad58396ef9f6263e56c3232aa6b521960658b1
parentadaac459759db4a1fd35baddbe47bac700095496
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>
drivers/base/regmap/regmap.c
include/linux/regmap.h
This page took 0.026137 seconds and 5 git commands to generate.