On Tue, 20 Jan 2009 18:20:58 +0530, pramod gurav wrote: > Hi All > I am trying to port the i2c client drivers from linux-omap-2.6.26 to 2.6.28. > The i2c client drivers are old styled. The i2c-probe function called by > attach_adapter function returns -EOPNOTSUPP. > This states adapter does not support SMBUS_QUICK command. > Same driver on linux-omap-2.6.26 works well. > The omap_i2c_func in i2c-omap.c driver doesn't seem to be returning > this support. > > What changes have gone into i2c-omap driver that are causing i2c-probe > function to return this error value? The i2c-omap bus driver in mainline has never supported the SMBus quick command. Anyway old-style i2c chip drivers must be converted to new-style, as support for old style is deprecated and will be removed soon. So your best chance is to do just that. This really isn't difficult. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html