| commit | 58829c45fdca72af48d0a3a3bcd2a0669f17c3bb | [log] [tgz] |
|---|---|---|
| author | lh <lh@exm.com> | Sat Sep 17 00:16:39 2022 -0700 |
| committer | lh <lh@exm.com> | Sat Sep 17 00:16:39 2022 -0700 |
| tree | d7baab5a92b32afd728fff9ed5746b205f8a1fc9 | |
| parent | d2628b6f6c0f0b9105a6537e002ab7d660aee8cd [diff] [blame] |
[Feature] merge MTK MR3.0 from 20220916 Change-Id: I7e07c7c1a6069994f9938d3d8a01cac6fd3bc5ae
diff --git a/src/kernel/linux/v4.19/drivers/spi/spi-slave-mt27xx.c b/src/kernel/linux/v4.19/drivers/spi/spi-slave-mt27xx.c index c98b720..860d257 100644 --- a/src/kernel/linux/v4.19/drivers/spi/spi-slave-mt27xx.c +++ b/src/kernel/linux/v4.19/drivers/spi/spi-slave-mt27xx.c
@@ -300,9 +300,9 @@ static int mtk_spi_slave_setup(struct spi_device *spi) { - + struct mtk_spi_slave *mdata = spi_controller_get_devdata(spi->master); u32 reg_val; - struct mtk_spi_slave *mdata = spi_controller_get_devdata(spi->master);//zhengzhou 2021.03.03 modify + reg_val = DMA_DONE_EN | DATA_DONE_EN | RSTA_DONE_EN | CMD_INVALID_EN; writel(reg_val, mdata->base + SPIS_IRQ_EN_REG);