regmap: Only send a single buffer for async I/O if writing one register
authorMark Brown <broonie@linaro.org>
Thu, 10 Oct 2013 21:38:29 +0000 (22:38 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 14 Oct 2013 21:09:26 +0000 (22:09 +0100)
commit04c50ccf0dab02923ef888a4839bfbd00de03181
treed9e0981c77d0436410b20f518eaa0afd8bee8472
parentcd1b9dd0220d3c126b3b61c1f96f0832fc21fc61
regmap: Only send a single buffer for async I/O if writing one register

Extend the interface for async I/O by allowing the value buffer to be
omitted and sending the value as part of the register buffer, minimising
the number of separate hardware operations required.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c