diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-04-21 22:56:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-22 12:57:28 +0100 |
commit | b42261078a91db8a8307db42cad41a619077d1df (patch) | |
tree | fa1d655bc813477914a4bca5fd0ca1d6833d2256 /drivers/hwmon | |
parent | 3ac170376f2c5123414e0267aa0f9cf218965e24 (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/hwmon')
0 files changed, 0 insertions, 0 deletions