* [PATCH] spi: at91: Use the SPI alias from devicetre
@ 2025-01-09 7:36 Alexander Shiyan
2025-01-10 8:29 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2025-01-09 7:36 UTC (permalink / raw)
To: barebox; +Cc: Alexander Shiyan
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
drivers/spi/atmel_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
index 62e1c66fd2..f441bfdfe1 100644
--- a/drivers/spi/atmel_spi.c
+++ b/drivers/spi/atmel_spi.c
@@ -402,7 +402,7 @@ static int atmel_spi_probe(struct device *dev)
master = &as->master;
master->dev = dev;
- master->bus_num = dev->id;
+ master->bus_num = pdata ? dev->id : -1;
if (pdata) {
master->num_chipselect = pdata->num_chipselect;
--
2.39.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] spi: at91: Use the SPI alias from devicetre
2025-01-09 7:36 [PATCH] spi: at91: Use the SPI alias from devicetre Alexander Shiyan
@ 2025-01-10 8:29 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-01-10 8:29 UTC (permalink / raw)
To: barebox, Alexander Shiyan
On Thu, 09 Jan 2025 10:36:54 +0300, Alexander Shiyan wrote:
>
Applied, thanks!
[1/1] spi: at91: Use the SPI alias from devicetre
https://git.pengutronix.de/cgit/barebox/commit/?id=81cd37833300 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-10 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-09 7:36 [PATCH] spi: at91: Use the SPI alias from devicetre Alexander Shiyan
2025-01-10 8:29 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox