diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2012-06-28 17:08:12 +0400 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-06-29 17:58:04 +0400 |
commit | 9638ab7c9c3b352d54f4f7e80027bd6e1c0584e8 (patch) | |
tree | ee0687ee8d93c567d459e0395a2922fed2f555ed /drivers/dio/dio-driver.c | |
parent | 771733e348e3df5b6283ab3b97d28577452bf09f (diff) | |
download | linux-9638ab7c9c3b352d54f4f7e80027bd6e1c0584e8.tar.xz |
Input: atmel_mxt_ts - add variable length __mxt_write_reg
The i2c bus requires 4 bytes to do a 1-byte write
(1 byte i2c address + 2 byte offset + 1 byte data).
By taking a length with writes, the driver can amortize transaction
overhead by performing larger transactions where appropriate.
This patch just sets up the new API. Later patches refactor writes
to take advantage of the larger transactions.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/dio/dio-driver.c')
0 files changed, 0 insertions, 0 deletions