summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/raid56.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 13:57:28 +0200
commitb42261078a91db8a8307db42cad41a619077d1df (patch)
treefa1d655bc813477914a4bca5fd0ca1d6833d2256 /fs/btrfs/raid56.c
parentregmap: add reg_read/reg_write callbacks to regmap_bus struct (diff)
downloadlinux-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