git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac1703
)
regmap: i2c: fallback to SMBus if the adapter does not support standard I2C
author
Boris BREZILLON
<boris.brezillon@free-electrons.com>
Mon, 21 Apr 2014 20:56:59 +0000
(22:56 +0200)
committer
Mark Brown
<broonie@linaro.org>
Tue, 22 Apr 2014 11:57:28 +0000
(12:57 +0100)
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>
No differences found