regmap: Split raw writes that cross window boundaries
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Oct 2012 17:20:18 +0000 (18:20 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Oct 2012 01:00:00 +0000 (10:00 +0900)
commit8a2ceac6617a67d8a1ee4bd255743d577bde311a
tree3d930e91d65fb6ccf22bc7cdfd2de168ce3eb0f1
parent0ff3e62ff119f2b65b0a8ad48fcb669f609fd904
regmap: Split raw writes that cross window boundaries

If a block write covers a paged memory region and crosses a window
boundary then rather than failing the write split the transfer up
into multiple writes, making the whole process more transparent for
drivers.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c