From: Daniel Kurtz Date: Thu, 28 Jun 2012 13:08:12 +0000 (+0800) Subject: Input: atmel_mxt_ts - add variable length __mxt_write_reg X-Git-Tag: v3.6-rc1~95^2^2~13^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9638ab7c9c3b352d54f4f7e80027bd6e1c0584e8;p=pandora-kernel.git 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 Signed-off-by: Henrik Rydberg --- Reading git-diff-tree failed