kernel_optimize_test/drivers/base/regmap
Mark Brown 8528bdd450 regmap: Allow caches for devices with no defaults
We only really need the defaults in order to cut down the number of
registers we sync and to satisfy reads while the device is powered off
but not all devices are going to need to do that (always on devices like
PMICs being the prime example) so don't require those devices to supply
a default.  Instead only try to fall back to hardware defaults if the
driver told us to.

Devices using LZO won't be able to instantiate with this, that will require
some updates in the LZO code to handle this case.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
2011-10-10 11:55:32 +01:00
..
internal.h regmap: Make _regmap_write() global 2011-09-29 11:19:45 +01:00
Kconfig regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
Makefile regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
regcache-indexed.c regmap: Return a sensible error code if we fail to read the cache 2011-10-10 10:24:03 +01:00
regcache-lzo.c regmap: Return a sensible error code if we fail to read the cache 2011-10-10 10:24:03 +01:00
regcache-rbtree.c regmap: Ensure rbtree syncs registers set to zero properly 2011-10-10 10:26:48 +01:00
regcache.c regmap: Allow caches for devices with no defaults 2011-10-10 11:55:32 +01:00
regmap-debugfs.c regmap: Include the last register in debugfs output 2011-09-05 10:58:31 -07:00
regmap-i2c.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap-spi.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap.c regmap: Warn on raw I/O as well as bulk reads that bypass cache 2011-10-10 10:24:33 +01:00