Skip to content
Commit b4226107 authored by Boris Brezillon's avatar Boris Brezillon Committed by Mark Brown
Browse files

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: default avatarBoris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 3ac17037
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment