Skip to content

Commit 7430764

Browse files
Devyn Liubroonie
authored andcommitted
spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
Due to the reading of FIFO during the dump of data registers in debugfs, if SPI transmission is in progress, it will be affected and may result in transmission failure. Therefore, the dump interface of data registers in debugfs is removed. Fixes: 2b2142f ("spi: hisi-kunpeng: Add debugfs support") Signed-off-by: Devyn Liu <liudingyuan@huawei.com> Reviewed-by: Jay Fang <f.fangjian@huawei.com> Link: https://lore.kernel.org/r/20240416015839.3323398-1-liudingyuan@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0064db9 commit 7430764

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/spi/spi-hisi-kunpeng.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ static const struct debugfs_reg32 hisi_spi_regs[] = {
151151
HISI_SPI_DBGFS_REG("ENR", HISI_SPI_ENR),
152152
HISI_SPI_DBGFS_REG("FIFOC", HISI_SPI_FIFOC),
153153
HISI_SPI_DBGFS_REG("IMR", HISI_SPI_IMR),
154-
HISI_SPI_DBGFS_REG("DIN", HISI_SPI_DIN),
155-
HISI_SPI_DBGFS_REG("DOUT", HISI_SPI_DOUT),
156154
HISI_SPI_DBGFS_REG("SR", HISI_SPI_SR),
157155
HISI_SPI_DBGFS_REG("RISR", HISI_SPI_RISR),
158156
HISI_SPI_DBGFS_REG("ISR", HISI_SPI_ISR),

0 commit comments

Comments
 (0)