From: Kyungwoo Kang Date: Thu, 7 Sep 2017 09:16:21 +0000 (+0900) Subject: Revert "[COMMON] spi: s3c64xx: Add Rx channel disalbe after fifo full" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86bba9b3cf6318dcea5d949395042fe4a218d0be;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "[COMMON] spi: s3c64xx: Add Rx channel disalbe after fifo full" This reverts commit 38b69556a309eb818506a5642309c3e9e44b8d95. Change-Id: I87b8a9cefcf23c7b6828302b296b8d25689695d9 Signed-off-by: Kyungwoo Kang --- diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 27331bf7aebf..695d37e66e56 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -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)