LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: david-b@pacbell.net
Cc: hans-peter.nilsson@axis.com, linux-kernel@vger.kernel.org,
mikael.starvik@axis.com, spi-devel-general@lists.sourceforge.net
Subject: Re: [PATCH 1/2] take 2: (was-kind-of: 3/5 SPI tx_default) 2.6.20-rc6
Date: Sat, 27 Jan 2007 21:19:29 +0100 [thread overview]
Message-ID: <200701272019.l0RKJTKh026426@ignucius.se.axis.com> (raw)
In-Reply-To: <200701262021.55317.david-b@pacbell.net> (message from David Brownell on Fri, 26 Jan 2007 20:21:54 -0800)
> From: David Brownell <david-b@pacbell.net>
> Date: Fri, 26 Jan 2007 20:21:54 -0800
> In fact, how about this one instead? It uses a bit in spi->mode
> since that's pretty easy to test. And while it doesn't get rid
> of the multiple conditionals when the tx buffer is null, it does
> let the other values be constants (0, ~0) that compilers like.
I'm fine, except the typo.
> (I can update your patch #4, etc, to match.)
Or I could, and test it to boot. :)
> +#define MODEBITS (SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_TX_1)
Add SPI_LSB_FIRST (still supported by spi_bitbang, I presume :)
brgds, H-P
next prev parent reply other threads:[~2007-01-27 20:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-25 4:52 [PATCH] 3/5: Updates to SPI and mmc_spi: tx_default, kernel 2.6.19 Hans-Peter Nilsson
2007-01-25 13:02 ` David Brownell
2007-01-26 10:46 ` [PATCH 1/2] take 2: (was-kind-of: 3/5 SPI tx_default) 2.6.20-rc6 Hans-Peter Nilsson
2007-01-26 23:21 ` David Brownell
2007-01-27 4:21 ` David Brownell
2007-01-27 20:19 ` Hans-Peter Nilsson [this message]
2007-01-27 20:26 ` Hans-Peter Nilsson
2007-01-27 20:59 ` [PATCH] take 3: mmc_spi with SPI_TX_1 2.6.20-rc6 Hans-Peter Nilsson
2007-01-28 17:46 ` [PATCH] take 4: " Hans-Peter Nilsson
2007-01-27 10:11 ` [PATCH 1/2] take 2: (was-kind-of: 3/5 SPI tx_default) 2.6.20-rc6 Hans-Peter Nilsson
2007-01-27 19:25 ` David Brownell
2007-01-26 10:48 ` [PATCH 2/2] " Hans-Peter Nilsson
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=200701272019.l0RKJTKh026426@ignucius.se.axis.com \
--to=hans-peter.nilsson@axis.com \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mikael.starvik@axis.com \
--cc=spi-devel-general@lists.sourceforge.net \
--subject='Re: [PATCH 1/2] take 2: (was-kind-of: 3/5 SPI tx_default) 2.6.20-rc6' \
/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
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).