spi: tegra: Fixed spi slave CS polarity
Amlan Kundu [Wed, 14 Sep 2011 05:35:14 +0000 (10:35 +0530)]
Change-Id: If544ad6382b8321f8c5e94e0a8a7679d36c48b67
Reviewed-on: http://git-master/r/52239
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-on: http://git-master/r/62044
Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

Rebase-Id: Rc0e69778b981cba9a5dfd1b55ece16d5f43cf22e

drivers/spi/spi_slave_tegra.c

index c547310..1419814 100644 (file)
@@ -704,7 +704,6 @@ static void spi_tegra_start_transfer(struct spi_device *spi,
        command |= SLINK_BIT_LENGTH(bits_per_word - 1);
 
        command |= SLINK_CS_SW;
-       command ^= cs_pol_bit[spi->chip_select];
 
        command &= ~SLINK_IDLE_SCLK_MASK & ~SLINK_CK_SDA;
        if (spi->mode & SPI_CPHA)