summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-04-29 11:12:37 +0900
committerMark Brown <broonie@kernel.org>2026-04-29 11:12:37 +0900
commit211ef7d627904834c9018f3f92b07569367cacf9 (patch)
tree79088e981b2028e1cfe8cadbbd14889c7cd55121
parent43b0b44b31632d285327bbc9fa8d64ba8f328d48 (diff)
parent9c69bc6057a20642ee7db258b13f536c2e3214a2 (diff)
downloadlinux-211ef7d627904834c9018f3f92b07569367cacf9.tar.gz
linux-211ef7d627904834c9018f3f92b07569367cacf9.zip
spi: microchip core-qspi cleanup
Conor Dooley <conor@kernel.org> says: Here's the other two changes, that didn't conflict with the fixes.
-rw-r--r--drivers/spi/spi-microchip-core-qspi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-microchip-core-qspi.c b/drivers/spi/spi-microchip-core-qspi.c
index eab059fb0bc2..477a1bb390bb 100644
--- a/drivers/spi/spi-microchip-core-qspi.c
+++ b/drivers/spi/spi-microchip-core-qspi.c
@@ -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)
@@ -604,7 +603,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;
}