microchip core-qspi cleanup
Subsystems (3)
v2 cover microchip core-qspi cleanup
From: Conor Dooley <[email protected]>
Hey Mark,
Here's the other two changes, that didn't conflict with the fixes.
Cheers,
Conor.
Conor Dooley (2):
spi: microchip-core-qspi: report device on which timeout occured
instead of which controller
spi: microchip-core-qspi: remove an unused define
drivers/spi/spi-microchip-core-qspi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Signature · 1 line
2.53.0
PATCH v2 1/2 spi: microchip-core-qspi: report device on which timeout occured instead of which controller
From: Conor Dooley <[email protected]>
When prepare_message callbacks fail, the SPI core already reports which controller the failure happened on. The corresponding code in the mem_ops portion of the driver already reports the device a timeout occurred on, so make the regular part of the driver do the same.
--- drivers/spi/spi-microchip-core-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-microchip-core-qspi.c +1 -1
@@ -604,7 +604,7 @@ static int mchp_coreqspi_prepare_message(struct spi_controller *ctlr, struct spi ret =mchp_coreqspi_wait_for_ready (qspi);if (ret) {mutex_unlock (&qspi->op_lock); -dev_err (&ctlr->dev,"Timeout waiting on QSPI ready.\n" ); +dev_err (&m->spi->dev,"Timeout waiting on QSPI ready.\n" );return ret; }
Signature · 1 line
2.53.0
PATCH v2 2/2 spi: microchip-core-qspi: remove an unused define
In reply to Conor DooleyFrom: Conor Dooley <[email protected]>
I noticed this define was incorrect, it should be UpperAddress, but in renaming it it became clear there were actually no users. Just get rid of it.
--- drivers/spi/spi-microchip-core-qspi.c | 1 - 1 file changed, 1 deletion(-)
drivers/spi/spi-microchip-core-qspi.c +0 -1
@@ -92,7 +92,6 @@#define REG_IEN (0x0c)#define REG_STATUS (0x10)#define REG_DIRECT_ACCESS (0x14) -#define REG_UPPER_ACCESS (0x18)#define REG_RX_DATA (0x40)#define REG_TX_DATA (0x44)#define REG_X4_RX_DATA (0x48)
Signature · 1 line
2.53.0
Mark Brown
maintainerQuoted 9 lines · Conor Dooley
microchip core-qspi cleanup
From: Conor Dooley <[email protected]>
Hey Mark,
Here's the other two changes, that didn't conflict with the fixes.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.2
Thanks!
[1/2] spi: microchip-core-qspi: report device on which timeout occured instead of which controller
https://git.kernel.org/broonie/spi/c/4cf8806a637e [2/2] spi: microchip-core-qspi: remove an unused define https://git.kernel.org/broonie/spi/c/9c69bc6057a2
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