diff options
Diffstat (limited to 'drivers/spi/spi-rspi.c')
-rw-r--r-- | drivers/spi/spi-rspi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c index 7838b7e71910..d1e89bb352d8 100644 --- a/drivers/spi/spi-rspi.c +++ b/drivers/spi/spi-rspi.c | |||
@@ -802,8 +802,6 @@ static int rspi_setup(struct spi_device *spi) | |||
802 | { | 802 | { |
803 | struct rspi_data *rspi = spi_master_get_devdata(spi->master); | 803 | struct rspi_data *rspi = spi_master_get_devdata(spi->master); |
804 | 804 | ||
805 | if (!spi->bits_per_word) | ||
806 | spi->bits_per_word = 8; | ||
807 | rspi->max_speed_hz = spi->max_speed_hz; | 805 | rspi->max_speed_hz = spi->max_speed_hz; |
808 | 806 | ||
809 | rspi->spcmd = SPCMD_SSLKP; | 807 | rspi->spcmd = SPCMD_SSLKP; |