* i2c-probe in 2.6.28 returns -EOPNOTSUPP
@ 2009-01-20 12:50 pramod gurav
[not found] ` <f502236f0901200450n4e943c63n7da6ac815efe4aca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: pramod gurav @ 2009-01-20 12:50 UTC (permalink / raw)
To: linux-omap, linux-i2c
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?
--
Best Regards
Pramod
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <f502236f0901200450n4e943c63n7da6ac815efe4aca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: i2c-probe in 2.6.28 returns -EOPNOTSUPP [not found] ` <f502236f0901200450n4e943c63n7da6ac815efe4aca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2009-01-20 13:04 ` Jean Delvare 0 siblings, 0 replies; 2+ messages in thread From: Jean Delvare @ 2009-01-20 13:04 UTC (permalink / raw) To: pramod gurav Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-i2c-u79uwXL29TY76Z2rM5mHXA 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-20 13:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20 12:50 i2c-probe in 2.6.28 returns -EOPNOTSUPP pramod gurav
[not found] ` <f502236f0901200450n4e943c63n7da6ac815efe4aca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-01-20 13:04 ` Jean Delvare
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox