From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: pramod gurav <pramodforum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: i2c-probe in 2.6.28 returns -EOPNOTSUPP
Date: Tue, 20 Jan 2009 14:04:27 +0100 [thread overview]
Message-ID: <20090120140427.3c5a92c3@hyperion.delvare> (raw)
In-Reply-To: <f502236f0901200450n4e943c63n7da6ac815efe4aca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
prev parent reply other threads:[~2009-01-20 13:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090120140427.3c5a92c3@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pramodforum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox