From b42261078a91db8a8307db42cad41a619077d1df Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Mon, 21 Apr 2014 22:56:59 +0200 Subject: [PATCH] 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-format-patch failed