[PATCH] regmap: i2c: fallback to SMBus if the adapter does not support standard I2C
broonie at kernel.org
Wed Apr 16 14:00:01 PDT 2014
On Wed, Apr 16, 2014 at 07:16:14PM +0200, Boris BREZILLON wrote:
> Actually I do not modify the passed config struct, I copy the config
> values into a local instance and then modify this local instance
> But I agree that having a proper way to overload config parameters would
> be better.
> Any suggestion on how this should be done ?
I think just adding them as operations in the bus struct should work,
though I only had a fairly quick scan through so I might have missed a
case where it's more than just the init that needs updating to take
account of there being a bus with these ops.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the linux-arm-kernel