[PATCH RFC 3/3 stable-6.1] spi: spi-atmel: enable dma on AT91SAM9G45

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Thomas Pfaff <tpfaff@xxxxxxx>

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

Signed-off-by: Thomas Pfaff <tpfaff@xxxxxxx>
---
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)





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux