[i2c] [patch 2.6.24-rc1-git] i2c-davinci supports new-style drivers

Jean Delvare khali at linux-fr.org
Sun Oct 28 13:25:32 CET 2007


Hi David,

On Sat, 27 Oct 2007 08:48:35 -0700, David Brownell wrote:
> Let DaVinci support new-style i2c drivers.

It already does.

> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> ---
> This is another driver which shouldn't advertise support for SMBUS_QUICK...
> I'm surprised it was allowed to merge with that false claim, given the
> amount of pushback on merging the OMAP driver with a much safer hack for
> the same problem.

The i2c-davinci driver does NOT advertise support for SMBUS_QUICK:

static u32 i2c_davinci_func(struct i2c_adapter *adap)
{
	return I2C_FUNC_I2C | (I2C_FUNC_SMBUS_EMUL & ~I2C_FUNC_SMBUS_QUICK);
}

-- 
Jean Delvare



More information about the i2c mailing list