spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
authorDevyn Liu <liudingyuan@huawei.com>
Tue, 16 Apr 2024 01:58:39 +0000 (09:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 09:50:47 +0000 (11:50 +0200)
commitfef735072de846164e9760be6b4a4a579937d1f3
treef41860255c39a62790978a77fffa219d90b5bf43
parent396df2b9394313079c6a7baab89b42cb6550dcc6
spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs

[ Upstream commit 7430764f5a85d30314aeef2d5438dff1fb0b1d68 ]

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>
Link: https://lore.kernel.org/r/20240416015839.3323398-1-liudingyuan@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-hisi-kunpeng.c