public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: spi-devel-general@lists.sourceforge.net
Cc: "Manish Jaggi" <manish.jaggi@gmail.com>,
	Luke Yang <luke.adi@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [spi-devel-general] [Patch] Add spi full duplex mode transfer support
Date: Wed, 30 Aug 2006 08:35:31 -0700	[thread overview]
Message-ID: <200608300835.32535.david-b@pacbell.net> (raw)
In-Reply-To: <2e2add590608300337h3e7e806bs69b63b24d73a104c@mail.gmail.com>

On Wednesday 30 August 2006 3:37 am, Manish Jaggi wrote:
> 
> On the same lines can we have a member in spi_transfer structure
> like bUseDMA.

LinuxStronglyAvoidsMixedCaseSymbols, see Documentation/CodingStyle.


> In spi PIO mode for short writes of 2 to 8 words is better.
> And we use DMA for larger writes/reads
> 
> What do u think?

I think that such tradeoffs are best hidden from the upper layer
(protocol) drivers, since they're specific to the hardware and
to how the driver is implemented.  So the lower level (controller)
driver should make such tradeoffs.

It's also a change of $SUBJECT but that's a different issue.  :)

- Dave



  parent reply	other threads:[~2006-08-30 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30  4:40 [Patch] Add spi full duplex mode transfer support Luke Yang
2006-08-30  4:52 ` [spi-devel-general] " David Brownell
     [not found]   ` <2e2add590608300337h3e7e806bs69b63b24d73a104c@mail.gmail.com>
2006-08-30 15:35     ` David Brownell [this message]
2006-08-30 15:56     ` Stephen Street
2006-08-30 16:26       ` David Brownell

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=200608300835.32535.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke.adi@gmail.com \
    --cc=manish.jaggi@gmail.com \
    --cc=spi-devel-general@lists.sourceforge.net \
    /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