regmap: cache: Write consecutive registers in a single block write
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 29 Mar 2013 20:50:07 +0000 (20:50 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 30 Mar 2013 13:52:36 +0000 (13:52 +0000)
When syncing blocks of data using raw writes combine the writes into a
single block write, saving us bus overhead for setup, addressing and
teardown.

Currently the block write is done unconditionally as it is expected that
hardware which has a register format which can support raw writes will
support auto incrementing writes, this decision may need to be revised in
future.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>

No differences found