Permalink
Browse files

trying PSP instead of Motorolla mode for pxa2xx

  • Loading branch information...
1 parent 5e6e959 commit 532aaf21e97014a9b1f144432e8d5d3775c347c3 Josh S committed Nov 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 drivers/spi/pxa2xx_spi.c
View
@@ -1078,7 +1078,7 @@ static void pump_transfers(unsigned long data)
}
cr0 = clk_div
- | SSCR0_Motorola
+ | SSCR0_PSP
| SSCR0_DataSize(bits > 16 ? bits - 16 : bits)
| SSCR0_SSE
| (bits > 16 ? SSCR0_EDSS : 0);
@@ -1381,7 +1381,7 @@ static int setup(struct spi_device *spi)
chip->speed_hz = spi->max_speed_hz;
chip->cr0 = clk_div
- | SSCR0_Motorola
+ | SSCR0_PSP
| SSCR0_DataSize(spi->bits_per_word > 16 ?
spi->bits_per_word - 16 : spi->bits_per_word)
| SSCR0_SSE
@@ -1647,7 +1647,7 @@ static int __init pxa2xx_spi_probe(struct platform_device *pdev)
SSCR1_TxTresh(TX_THRESH_DFLT),
drv_data->ioaddr);
write_SSCR0(SSCR0_SerClkDiv(2)
- | SSCR0_Motorola
+ | SSCR0_PSP
| SSCR0_DataSize(8),
drv_data->ioaddr);
if (drv_data->ssp_type != PXA25x_SSP)

0 comments on commit 532aaf2

Please sign in to comment.