Re: [RFC/PATCH 2/3] i2c: Fall back to emulated SMBus if the operation isn't supported natively

2012-07-17 Thread Jean Delvare
Hi Laurent, On Tue, 26 Jun 2012 16:17:08 +0200, Laurent Pinchart wrote: Adapter drivers might support only a subset of the SMBus operations natively. Those drivers currently have to manually emulate unsupported operations using I2C. Make the i2c_smbus_xfer() function fall back to

Re: [RFC/PATCH 2/3] i2c: Fall back to emulated SMBus if the operation isn't supported natively

2012-07-17 Thread Laurent Pinchart
Hi Jean, On Tuesday 17 July 2012 17:02:43 Jean Delvare wrote: On Tue, 26 Jun 2012 16:17:08 +0200, Laurent Pinchart wrote: Adapter drivers might support only a subset of the SMBus operations natively. Those drivers currently have to manually emulate unsupported operations using I2C.

[RFC/PATCH 2/3] i2c: Fall back to emulated SMBus if the operation isn't supported natively

2012-06-26 Thread Laurent Pinchart
Adapter drivers might support only a subset of the SMBus operations natively. Those drivers currently have to manually emulate unsupported operations using I2C. Make the i2c_smbus_xfer() function fall back to i2c_smbus_xfer_emulated() when the adapter's .smbus_xfer() operation returns