summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKatherine Lu <katherine.lu@freescale.com>2008-04-02 11:14:56 +0800
committerDaniel Schaeffer <daniel.schaeffer@timesys.com>2008-08-25 15:20:57 -0400
commit12573d7103e37acb79ffe972560bbb5018259089 (patch)
treec0a6e0578a7df2e10ea27c79967922499efacc49 /drivers
parent8fb857971d9b67ac9373ff1af66d6f15063381fc (diff)
ENGR00058775 SPI update for i.MX35
SPI driver update for i.MX35 Signed-off-by: Katherine Lu <r63906@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/mxc_spi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c
index b1ddc440745f..d8872b3e46d9 100644
--- a/drivers/spi/mxc_spi.c
+++ b/drivers/spi/mxc_spi.c
@@ -634,6 +634,10 @@ void mxc_spi_chipselect(struct spi_device *spi, int is_active)
if (spi->mode & SPI_CS_HIGH)
ctrl_reg |=
spi_ver_def->mode_mask << spi_ver_def->ss_pol_shift;
+ if (spi_ver_def == &spi_ver_0_7)
+ ctrl_reg |=
+ spi_ver_def->mode_mask << spi_ver_def->
+ ss_ctrl_shift;
__raw_writel(ctrl_reg, master_drv_data->base + MXC_CSPICTRL);
}