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 13:57:28 +0200 |
commit | b42261078a91db8a8307db42cad41a619077d1df (patch) | |
tree | fa1d655bc813477914a4bca5fd0ca1d6833d2256 /fs/btrfs/raid56.c | |
parent | regmap: add reg_read/reg_write callbacks to regmap_bus struct (diff) | |
download | linux-b42261078a91db8a8307db42cad41a619077d1df.tar.xz linux-b42261078a91db8a8307db42cad41a619077d1df.zip |
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 'fs/btrfs/raid56.c')
0 files changed, 0 insertions, 0 deletions