spi: tegra: disabling packed mode
Amit Kamath [Tue, 18 Jan 2011 13:19:58 +0000 (18:19 +0530)]
disable unstable packed spi mode

Original-Change-Id: I81a11a0f5dd9515ff1430ccfcc7d2ed7371e79b3
Reviewed-on: http://git-master/r/16105
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R010fbce5f63a377fa9661f3bdd89523c497989ec

drivers/spi/spi-tegra.c

index 14ac633..8ff0e72 100644 (file)
@@ -403,10 +403,8 @@ static void spi_tegra_start_transfer(struct spi_device *spi,
 
        tspi->cur_bytes_per_word = (bits_per_word - 1) / 8 + 1;
 
-       if (bits_per_word == 8 || bits_per_word == 16)
-               tspi->is_packed = 1;
-       else
-               tspi->is_packed = 0;
+       /* !!! fix me: Packed mode disabled */
+       tspi->is_packed = 0;
 
        tspi->packed_size = spi_tegra_get_packed_size(tspi, t);
        if (tspi->is_packed) {