Re: [PATCH] regmap: i2c: fallback to SMBus if the adapter does not support standard I2C
From: Mark Brown
Date: Wed Apr 16 2014 - 17:00:49 EST
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
> appropriately.
> 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.
Attachment:
signature.asc
Description: Digital signature