Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information