Revert "[COMMON] spi: s3c64xx: Add Rx channel disalbe after fifo full"
authorKyungwoo Kang <kwoo.kang@samsung.com>
Thu, 7 Sep 2017 09:16:21 +0000 (18:16 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
This reverts commit 38b69556a309eb818506a5642309c3e9e44b8d95.

Change-Id: I87b8a9cefcf23c7b6828302b296b8d25689695d9
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
drivers/spi/spi-s3c64xx.c

index 27331bf7aebf72fa3d092941ae3af385ee093361..695d37e66e561ea6426aa34caee1aefd2421ed8d 100644 (file)
@@ -653,12 +653,6 @@ static int wait_for_xfer(struct s3c64xx_spi_driver_data *sdd,
                do {
                        status = readl(regs + S3C64XX_SPI_STATUS);
                } while (RX_FIFO_LVL(status, sdd) < xfer->len && --val);
-
-               if (master->bus_num == 0) {
-                       chcfg = readl(regs + S3C64XX_SPI_CH_CFG);
-                       chcfg &= ~S3C64XX_SPI_CH_RXCH_ON;
-                       writel(chcfg, regs + S3C64XX_SPI_CH_CFG);
-               }
        }
 
        if (!val)