aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/regmap/regmap.c
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-04-21 22:56:59 +0200
committerMark Brown <broonie@linaro.org>2014-04-22 12:57:28 +0100
commitb42261078a91db8a8307db42cad41a619077d1df (patch)
treefa1d655bc813477914a4bca5fd0ca1d6833d2256 /drivers/base/regmap/regmap.c
parent3ac170376f2c5123414e0267aa0f9cf218965e24 (diff)
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 <boris.brezillon@free-electrons.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/regmap/regmap.c')
0 files changed, 0 insertions, 0 deletions