]>
Commit | Line | Data |
---|---|---|
a807fb06 SL |
1 | From 92e0341d1100d1aafba7d26e4ba6fad2226103c9 Mon Sep 17 00:00:00 2001 |
2 | From: Sasha Levin <sashal@kernel.org> | |
3 | Date: Tue, 16 Apr 2024 09:58:39 +0800 | |
4 | Subject: spi: hisi-kunpeng: Delete the dump interface of data registers in | |
5 | debugfs | |
6 | ||
7 | From: Devyn Liu <liudingyuan@huawei.com> | |
8 | ||
9 | [ Upstream commit 7430764f5a85d30314aeef2d5438dff1fb0b1d68 ] | |
10 | ||
11 | Due to the reading of FIFO during the dump of data registers in | |
12 | debugfs, if SPI transmission is in progress, it will be affected | |
13 | and may result in transmission failure. Therefore, the dump | |
14 | interface of data registers in debugfs is removed. | |
15 | ||
16 | Fixes: 2b2142f247eb ("spi: hisi-kunpeng: Add debugfs support") | |
17 | Signed-off-by: Devyn Liu <liudingyuan@huawei.com> | |
18 | Reviewed-by: Jay Fang <f.fangjian@huawei.com> | |
19 | Link: https://lore.kernel.org/r/20240416015839.3323398-1-liudingyuan@huawei.com | |
20 | Signed-off-by: Mark Brown <broonie@kernel.org> | |
21 | Signed-off-by: Sasha Levin <sashal@kernel.org> | |
22 | --- | |
23 | drivers/spi/spi-hisi-kunpeng.c | 2 -- | |
24 | 1 file changed, 2 deletions(-) | |
25 | ||
26 | diff --git a/drivers/spi/spi-hisi-kunpeng.c b/drivers/spi/spi-hisi-kunpeng.c | |
27 | index 525cc0143a305..54730e93fba45 100644 | |
28 | --- a/drivers/spi/spi-hisi-kunpeng.c | |
29 | +++ b/drivers/spi/spi-hisi-kunpeng.c | |
30 | @@ -151,8 +151,6 @@ static const struct debugfs_reg32 hisi_spi_regs[] = { | |
31 | HISI_SPI_DBGFS_REG("ENR", HISI_SPI_ENR), | |
32 | HISI_SPI_DBGFS_REG("FIFOC", HISI_SPI_FIFOC), | |
33 | HISI_SPI_DBGFS_REG("IMR", HISI_SPI_IMR), | |
34 | - HISI_SPI_DBGFS_REG("DIN", HISI_SPI_DIN), | |
35 | - HISI_SPI_DBGFS_REG("DOUT", HISI_SPI_DOUT), | |
36 | HISI_SPI_DBGFS_REG("SR", HISI_SPI_SR), | |
37 | HISI_SPI_DBGFS_REG("RISR", HISI_SPI_RISR), | |
38 | HISI_SPI_DBGFS_REG("ISR", HISI_SPI_ISR), | |
39 | -- | |
40 | 2.43.0 | |
41 |