diff options
author | Amit Kamath <akamath@nvidia.com> | 2011-01-18 18:49:58 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-01-25 15:36:03 -0800 |
commit | e759fbdb9d3cc35e0d74a18b499a8aac4af303cd (patch) | |
tree | 259376eb89f4b490129f931d87f08959fc6a462d /drivers/spi | |
parent | 22ae86044dd58fe454dc0ff108ca132d8649ef5b (diff) |
spi: tegra: disabling packed mode
disable unstable packed spi mode
Change-Id: I81a11a0f5dd9515ff1430ccfcc7d2ed7371e79b3
Reviewed-on: http://git-master/r/16105
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi_tegra.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/spi/spi_tegra.c b/drivers/spi/spi_tegra.c index f92d1864f382..ece84a670fd2 100644 --- a/drivers/spi/spi_tegra.c +++ b/drivers/spi/spi_tegra.c @@ -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) { |