linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
@ 2024-04-16  1:58 Devyn Liu
  2024-04-17  2:46 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Devyn Liu @ 2024-04-16  1:58 UTC (permalink / raw)
  To: f.fangjian, broonie
  Cc: linux-spi, linux-kernel, jonathan.cameron, liudingyuan, liuyonglong

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: 2b2142f247eb ("spi: hisi-kunpeng: Add debugfs support")
Signed-off-by: Devyn Liu <liudingyuan@huawei.com>
Reviewed-by: Jay Fang <f.fangjian@huawei.com>
---
 drivers/spi/spi-hisi-kunpeng.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-hisi-kunpeng.c b/drivers/spi/spi-hisi-kunpeng.c
index 35ef5e8e2ffd..77e9738e42f6 100644
--- a/drivers/spi/spi-hisi-kunpeng.c
+++ b/drivers/spi/spi-hisi-kunpeng.c
@@ -151,8 +151,6 @@ static const struct debugfs_reg32 hisi_spi_regs[] = {
 	HISI_SPI_DBGFS_REG("ENR", HISI_SPI_ENR),
 	HISI_SPI_DBGFS_REG("FIFOC", HISI_SPI_FIFOC),
 	HISI_SPI_DBGFS_REG("IMR", HISI_SPI_IMR),
-	HISI_SPI_DBGFS_REG("DIN", HISI_SPI_DIN),
-	HISI_SPI_DBGFS_REG("DOUT", HISI_SPI_DOUT),
 	HISI_SPI_DBGFS_REG("SR", HISI_SPI_SR),
 	HISI_SPI_DBGFS_REG("RISR", HISI_SPI_RISR),
 	HISI_SPI_DBGFS_REG("ISR", HISI_SPI_ISR),
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
  2024-04-16  1:58 [PATCH] spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs Devyn Liu
@ 2024-04-17  2:46 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2024-04-17  2:46 UTC (permalink / raw)
  To: f.fangjian, Devyn Liu
  Cc: linux-spi, linux-kernel, jonathan.cameron, liuyonglong

On Tue, 16 Apr 2024 09:58:39 +0800, Devyn Liu wrote:
> 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.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
      commit: 7430764f5a85d30314aeef2d5438dff1fb0b1d68

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-17  2:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16  1:58 [PATCH] spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs Devyn Liu
2024-04-17  2:46 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).