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)