From: Anthony Olech Date: Fri, 11 Oct 2013 14:31:11 +0000 (+0100) Subject: regmap: new API regmap_multi_reg_write() definition X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~17^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e33fabd365596178e72f62bb4b89f0aaad0509ad;p=pandora-kernel.git regmap: new API regmap_multi_reg_write() definition New API regmap_multi_reg_write() is defined that allows a set of reg,val pairs to be written to a I2C client device as one block transfer from the point of view of a single I2C master system. A simple demonstration implementation is included that just splits the block write request into a sequence of single register writes. The implementation will be modified later to support those I2C clients that implement the alternative non-standard MULTIWRITE block write mode so to achieve a single I2C transfer that will be atomic even in multiple I2C master systems. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen Signed-off-by: Mark Brown --- Reading git-diff-tree failed