diff options
-rw-r--r-- | drivers/spi/spi-fsl-espi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 0ef05f198f22..6a74d7848d93 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c | |||
@@ -153,7 +153,7 @@ static int fsl_espi_setup_transfer(struct spi_device *spi, | |||
153 | cs->get_tx = mpc8xxx_spi_tx_buf_u32; | 153 | cs->get_tx = mpc8xxx_spi_tx_buf_u32; |
154 | if (bits_per_word <= 8) { | 154 | if (bits_per_word <= 8) { |
155 | cs->rx_shift = 8 - bits_per_word; | 155 | cs->rx_shift = 8 - bits_per_word; |
156 | } else | 156 | } else { |
157 | cs->rx_shift = 16 - bits_per_word; | 157 | cs->rx_shift = 16 - bits_per_word; |
158 | if (spi->mode & SPI_LSB_FIRST) | 158 | if (spi->mode & SPI_LSB_FIRST) |
159 | cs->get_tx = fsl_espi_tx_buf_lsb; | 159 | cs->get_tx = fsl_espi_tx_buf_lsb; |