From: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
To: Baruch Siach <baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] spi: fix m25p80 when the cs_change hint is honored
Date: Tue, 19 May 2009 22:09:19 -0700 [thread overview]
Message-ID: <200905192209.19125.david-b@pacbell.net> (raw)
In-Reply-To: <20090520045506.GD28870@tarshish>
On Tuesday 19 May 2009, Baruch Siach wrote:
> Thanks for the clarification.
>
> If I understood correctly then, cs_change has two opposite meanings:
No, it has exactly one meaning -- *change* normal behavior -- but that
gets applied in two different contexts, where "normal" is two things:
> 1. If cs_change != 0 in spi_transfer that is not the last in the current
> spi_message, then deactivate the chip select between this spi_transfer and
> the next.
>
> 2. If cs_change != 0 in spi_transfer that is that last in the current
> spi_message, then the SPI controller is allowed to NOT deactivate the chip
> select after the current spi_message.
>
> Is this correct?
Modulo nuances on #2, yes. See the kerneldoc for more info.
> If so would a clarification of the relevant text at
> include/linux/spi/spi.h be accepted?
In what way is the existing language unclear? There are
two paragraphs in the "struct spi_transfer" kerneldoc.
> baruch
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
next prev parent reply other threads:[~2009-05-20 5:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-19 11:09 [PATCH] spi: fix m25p80 when the cs_change hint is honored Baruch Siach
[not found] ` <1242731340-12160-1-git-send-email-baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org>
2009-05-20 4:34 ` David Brownell
[not found] ` <200905192134.14316.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2009-05-20 4:55 ` Baruch Siach
2009-05-20 5:09 ` David Brownell [this message]
[not found] ` <200905192209.19125.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2009-05-20 5:25 ` Baruch Siach
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=200905192209.19125.david-b@pacbell.net \
--to=david-b-ybekhbn/0ldr7s880joybq@public.gmane.org \
--cc=baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org \
--cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.