From d932fd6e5a71da0ae8a580a755cf3806dc4b90b3 Mon Sep 17 00:00:00 2001 From: Sheshu Shenoy Date: Thu, 22 Jul 2010 15:00:32 -0700 Subject: 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 Reviewed-by: Sheshagiri Shenoy Tested-by: Sheshagiri Shenoy Reviewed-by: Gary King --- drivers/spi/tegra_spi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') 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); -- cgit v1.2.3