diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-20 21:47:22 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 15:52:25 +0900 |
| commit | 2547e201b3693f91d643fc0d21ef86171894b59b (patch) | |
| tree | 3ea3a75fbf29e95b341cdd4558bf3c6dd09cd585 /include/linux/regmap.h | |
| parent | 322a8b034003c0d46d39af85bf24fee27b902f48 (diff) | |
regmap: Just send the buffer directly for single register writes
When doing a single register write we use work_buf for both the register
and the value with the buffer formatted for sending directly to the device
so we can just do a write() directly. This saves allocating a temporary
buffer if we can't do gather writes and is likely to be faster than doing
a gather write.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
0 files changed, 0 insertions, 0 deletions
