From: grant.likely@secretlab.ca (Grant Likely) Date: Mon, 1 Nov 2010 01:01:33 -0400 Subject: [PATCH] spi/pl022: fix erroneous platform data in U300 In-Reply-To: <1287687925-27189-1-git-send-email-linus.walleij@stericsson.com> References: <1287687925-27189-1-git-send-email-linus.walleij@stericsson.com> Message-ID: <20101101050133.GA17587@angua.secretlab.ca> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Oct 21, 2010 at 09:05:25PM +0200, Linus Walleij wrote: > This fixes an erroneous use of LSB first in the U300 machine, the > PL022 used in U300 is a standard ARM core that doesn't support this > bit so it should never have been set. > > Cc: Kevin Wells OA > Signed-off-by: Linus Walleij Applied, thanks. > --- > arch/arm/mach-u300/spi.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-u300/spi.c b/arch/arm/mach-u300/spi.c > index 779abf7..5767208 100644 > --- a/arch/arm/mach-u300/spi.c > +++ b/arch/arm/mach-u300/spi.c > @@ -67,7 +67,7 @@ static struct spi_board_info u300_spi_devices[] = { > .bus_num = 0, /* Only one bus on this chip */ > .chip_select = 0, > /* Means SPI_CS_HIGH, change if e.g low CS */ > - .mode = SPI_MODE_1 | SPI_LSB_FIRST | SPI_LOOP, > + .mode = SPI_MODE_1 | SPI_LOOP, > }, > #endif > }; > -- > 1.6.3.3 >