From: Boris BREZILLON Date: Mon, 21 Apr 2014 20:56:59 +0000 (+0200) Subject: regmap: i2c: fallback to SMBus if the adapter does not support standard I2C X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~30^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42261078a91;p=pandora-kernel.git regmap: i2c: fallback to SMBus if the adapter does not support standard I2C Some I2C adapters are only compatible with the SMBus protocol and do not support standard I2C transfers. Fallback to SMBus transfers if we encounter such kind of adapters. The transfer type is chosen according to the val_bits field in the regmap config. Signed-off-by: Boris BREZILLON Signed-off-by: Mark Brown --- Reading git-diff-tree failed