From: Kevin Hilman <khilman@mvista.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH 1/2] ARM: OMAP: use SPI_MODE_0 for ads7846
Date: Thu, 24 May 2007 10:21:44 -0700 [thread overview]
Message-ID: <20070524172156.133029558@mvista.com> (raw)
In-Reply-To: 20070524172143.809836878@mvista.com
[-- Attachment #1: ads7846-use-spi-mode-0.patch --]
[-- Type: text/plain, Size: 733 bytes --]
Following on David Brownell's CPHA fixups/cleanups, Convert the
ads7846 driver to SPI_MODE_0 also.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
drivers/input/touchscreen/ads7846.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: dev/drivers/input/touchscreen/ads7846.c
===================================================================
--- dev.orig/drivers/input/touchscreen/ads7846.c
+++ dev/drivers/input/touchscreen/ads7846.c
@@ -848,7 +848,7 @@ static int __devinit ads7846_probe(struc
* may not. So we stick to very-portable 8 bit words, both RX and TX.
*/
spi->bits_per_word = 8;
- spi->mode = SPI_MODE_1;
+ spi->mode = SPI_MODE_0;
err = spi_setup(spi);
if (err < 0)
return err;
--
next prev parent reply other threads:[~2007-05-24 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-24 17:21 [PATCH 0/2] 2430SDP touchscreen: use ads7846 instead of tsc2046 Kevin Hilman
2007-05-24 17:21 ` Kevin Hilman [this message]
2007-05-24 17:21 ` [PATCH 2/2] ARM: OMAP: 2430SDP: Use ads7846 for touchscreen driver Kevin Hilman
2007-05-25 0:45 ` Tony Lindgren
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=20070524172156.133029558@mvista.com \
--to=khilman@mvista.com \
--cc=linux-omap-open-source@linux.omap.com \
/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.