From: Paul Mundt <paul.mundt@nokia.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH 2.6.17-rc3-omap] omap_uwire byteswap bugfix
Date: Thu, 4 May 2006 17:53:44 +0300 [thread overview]
Message-ID: <20060504145344.GA21933@nokia.com> (raw)
In-Reply-To: <200605022215.49062.david-b@pacbell.net>
On Tue, May 02, 2006 at 10:15:48PM -0700, David Brownell wrote:
> Also, reject LSB-first device modes; this controller doesn't support them.
>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
>
> Index: osk/drivers/spi/omap_uwire.c
> ===================================================================
> --- osk.orig/drivers/spi/omap_uwire.c 2006-04-22 14:41:22.000000000 -0700
> +++ osk/drivers/spi/omap_uwire.c 2006-05-02 18:37:24.000000000 -0700
> @@ -320,6 +317,12 @@ static int uwire_setup(struct spi_device
> goto done;
> }
>
> + if (spi->mode & SPI_LSB_FIRST) {
> + pr_debug("%s: lsb first?\n", spi->dev.bus_id);
> + status = -EINVAL;
> + goto done;
> + }
> +
> /* mode 0..3, clock inverted separately;
> * standard nCS signaling;
> * don't treat DI=high as "not ready"
This breaks the build, SPI_LSB_FIRST isn't defined anywhere..
drivers/spi/omap_uwire.c: In function `uwire_setup':
drivers/spi/omap_uwire.c:320: error: `SPI_LSB_FIRST' undeclared (first use in this function)
drivers/spi/omap_uwire.c:320: error: (Each undeclared identifier is reported only once
drivers/spi/omap_uwire.c:320: error: for each function it appears in.)
make[2]: *** [drivers/spi/omap_uwire.o] Error 1
make[1]: *** [drivers/spi] Error 2
make: *** [drivers] Error 2
Looks like this is missing..
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-01-driver/spi-devices-can-require-lsb-first-encodings.patch
which isn't in Linus's tree either yet however.
next prev parent reply other threads:[~2006-05-04 14:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-03 5:15 [PATCH 2.6.17-rc3-omap] omap_uwire byteswap bugfix David Brownell
2006-05-04 14:53 ` Paul Mundt [this message]
2006-05-04 15:18 ` David Brownell
2006-05-04 17:07 ` 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=20060504145344.GA21933@nokia.com \
--to=paul.mundt@nokia.com \
--cc=david-b@pacbell.net \
--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.