Skip to content

Commit

Permalink
spi/pl022: fix erroneous platform data in U300
Browse files Browse the repository at this point in the history
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 <[email protected]>OA
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
  • Loading branch information
Linus Walleij authored and glikely committed Nov 1, 2010
1 parent eb288a1 commit 65289d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-u300/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 65289d6

Please sign in to comment.