Skip to content

Commit 65289d6

Browse files
Linus Walleijglikely
authored andcommitted
spi/pl022: fix erroneous platform data in U300
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]>
1 parent eb288a1 commit 65289d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-u300/spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static struct spi_board_info u300_spi_devices[] = {
6767
.bus_num = 0, /* Only one bus on this chip */
6868
.chip_select = 0,
6969
/* Means SPI_CS_HIGH, change if e.g low CS */
70-
.mode = SPI_MODE_1 | SPI_LSB_FIRST | SPI_LOOP,
70+
.mode = SPI_MODE_1 | SPI_LOOP,
7171
},
7272
#endif
7373
};

0 commit comments

Comments
 (0)