diff options
-rw-r--r-- | drivers/spi/spi_imx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index b6a8149220fb..2fec1170b6c0 100644 --- a/drivers/spi/spi_imx.c +++ b/drivers/spi/spi_imx.c | |||
@@ -442,6 +442,7 @@ static int spi_imx_setupxfer(struct spi_device *spi, | |||
442 | config.bpw = t ? t->bits_per_word : spi->bits_per_word; | 442 | config.bpw = t ? t->bits_per_word : spi->bits_per_word; |
443 | config.speed_hz = t ? t->speed_hz : spi->max_speed_hz; | 443 | config.speed_hz = t ? t->speed_hz : spi->max_speed_hz; |
444 | config.mode = spi->mode; | 444 | config.mode = spi->mode; |
445 | config.cs = spi_imx->chipselect[spi->chip_select]; | ||
445 | 446 | ||
446 | if (!config.speed_hz) | 447 | if (!config.speed_hz) |
447 | config.speed_hz = spi->max_speed_hz; | 448 | config.speed_hz = spi->max_speed_hz; |