Re: i2c-probe in 2.6.28 returns -EOPNOTSUPP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux