diff options
author | Sheshu Shenoy <sshenoy@nvidia.com> | 2010-07-22 15:00:32 -0700 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-07-23 20:21:46 -0700 |
commit | d932fd6e5a71da0ae8a580a755cf3806dc4b90b3 (patch) | |
tree | ff24ca1e9cbedd4ec754ed8a04faf11f8b6c85e7 /drivers | |
parent | c0fd286380b8b5276c7aed6fb7a9f5eacde9f60e (diff) |
tegra spi: added support for various spi signal modes
with out this change, we would only support signal mode 0...
Change-Id: I2cd2c9a3e30da94f2e95a654f3154fd33e940f13
Reviewed-on: http://git-master/r/4286
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Tested-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/tegra_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/tegra_spi.c b/drivers/spi/tegra_spi.c index 416ab1fce40b..ffd75ee13d06 100644 --- a/drivers/spi/tegra_spi.c +++ b/drivers/spi/tegra_spi.c @@ -199,6 +199,7 @@ static int __init tegra_spi_probe(struct platform_device *pdev) master->cleanup = tegra_spi_cleanup; master->num_chipselect = 4; master->bus_num = pdev->id; + master->mode_bits = NV_SUPPORTED_MODE_BITS; dev_set_drvdata(&pdev->dev, master); spi = spi_master_get_devdata(master); |