From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Michael Post <michael_post-S0/GAf8tV78@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Driver-Support of I2C_M_RECV_LEN
Date: Fri, 4 Jul 2014 09:58:50 +0200 [thread overview]
Message-ID: <20140704075850.GA3492@katana> (raw)
In-Reply-To: <53A42321.5020701-S0/GAf8tV78@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
Hi,
> How i can figure out whether this mechanism will be provided of my driver?
Use i2c_get_functionality() and check for
I2C_FUNC_SMBUS_READ_BLOCK_DATA (or look at the source code).
> What is the alternative of using the function i2c_smbus_read_block_data?
That depends solely on your slave device. Check the documentation what
transfer types it supports and what alternatives are possible.
Regards,
Wolfram
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-07-04 7:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-20 12:03 Driver-Support of I2C_M_RECV_LEN Michael Post
[not found] ` <53A42321.5020701-S0/GAf8tV78@public.gmane.org>
2014-07-04 7:38 ` Michael Post
2014-07-04 7:39 ` Michael Post
2014-07-04 7:58 ` Wolfram Sang [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=20140704075850.GA3492@katana \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=michael_post-S0/GAf8tV78@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;
as well as URLs for NNTP newsgroup(s).