mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RFC 3/3 stable-6.1] spi: spi-atmel: enable dma on AT91SAM9G45
@ 2023-11-15 14:01 Thomas Pfaff
  0 siblings, 0 replies; only message in thread
From: Thomas Pfaff @ 2023-11-15 14:01 UTC (permalink / raw)
  To: tudor.ambarus
  Cc: broonie, nicolas.ferre, alexandre.belloni, claudiu.beznea,
	linux-spi, linux-arm-kernel, linux-kernel

From: Thomas Pfaff <tpfaff@pcs.com>

AT91SAM9G45 spi has version 0x210, but dma is working on it.

Signed-off-by: Thomas Pfaff <tpfaff@pcs.com>
---
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index eaf4f9ff2504..1e4722bdcb2d 100644
--- a/drivers/spi/spi-atmel.c
+++ b/drivers/spi/spi-atmel.c
@@ -1395,8 +1395,8 @@ static void atmel_get_caps(struct atmel_spi *as)
 
 	as->caps.is_spi2 = version > 0x121;
 	as->caps.has_wdrbt = version >= 0x210;
-	as->caps.has_dma_support = version >= 0x212;
-	as->caps.has_pdc_support = version < 0x212;
+	as->caps.has_dma_support = version >= 0x210;
+	as->caps.has_pdc_support = version < 0x210;
 }
 
 static void atmel_spi_init(struct atmel_spi *as)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-15 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 14:01 [PATCH RFC 3/3 stable-6.1] spi: spi-atmel: enable dma on AT91SAM9G45 Thomas Pfaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®