aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_bfin5xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi_bfin5xx.c')
-rw-r--r--drivers/spi/spi_bfin5xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
index c4c4905e0aa1..25b0efc5910e 100644
--- a/drivers/spi/spi_bfin5xx.c
+++ b/drivers/spi/spi_bfin5xx.c
@@ -501,7 +501,7 @@ static void u16_cs_chg_reader(struct driver_data *drv_data)
501 cs_active(drv_data, chip); 501 cs_active(drv_data, chip);
502 dummy_read(drv_data); 502 dummy_read(drv_data);
503 503
504 while (drv_data->rx < drv_data->rx_end) { 504 while (drv_data->rx < drv_data->rx_end - 2) {
505 cs_deactive(drv_data, chip); 505 cs_deactive(drv_data, chip);
506 506
507 if (chip->cs_chg_udelay) 507 if (chip->cs_chg_udelay)