From: Philippe De Muyter <phdm-KobBqTBAxd8@public.gmane.org>
To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: spi_write_then_read with different tx/rx bits_per_word
Date: Wed, 8 Jan 2014 23:35:38 +0100 [thread overview]
Message-ID: <20140108223538.GA2861@frolo.macqel> (raw)
Hello linux spi architects,
I am currently writing a driver for a peripheral that uses spi
for its configuration. The spi interface of that device
presents a set of read-only or read-write registers with 7-bit
addresses, but 8- or 16-bit values.
Is there a convenience function similar to spi_write_then_read
to handle that case or must I roll my own one in my driver ?
Thanks in advance
Philippe De Muyter
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2014-01-08 22:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 22:35 Philippe De Muyter [this message]
[not found] ` <20140108223538.GA2861-NqYOdiUDesgPnqCj3zZnUQ@public.gmane.org>
2014-01-10 10:27 ` spi_write_then_read with different tx/rx bits_per_word Mark Brown
[not found] ` <20140110102745.GA29039-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-13 13:35 ` Philippe De Muyter
[not found] ` <20140113133518.GA6613-NqYOdiUDesgPnqCj3zZnUQ@public.gmane.org>
2014-01-13 15:36 ` Mark Brown
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=20140108223538.GA2861@frolo.macqel \
--to=phdm-kobbqtbaxd8@public.gmane.org \
--cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@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