From: Thomas Pfaff <tpfaff@pcs.com>
To: <tudor.ambarus@microchip.com>
Cc: <broonie@kernel.org>, <nicolas.ferre@microchip.com>,
<alexandre.belloni@bootlin.com>, <claudiu.beznea@microchip.com>,
<linux-spi@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH RFC 3/3 stable-6.1] spi: spi-atmel: enable dma on AT91SAM9G45
Date: Wed, 15 Nov 2023 15:01:04 +0100 [thread overview]
Message-ID: <2863edc4-5daa-d8d6-5e8d-b9dc244bcb82@pcs.com> (raw)
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)
reply other threads:[~2023-11-15 14:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2863edc4-5daa-d8d6-5e8d-b9dc244bcb82@pcs.com \
--to=tpfaff@pcs.com \
--cc=alexandre.belloni@bootlin.com \
--cc=broonie@kernel.org \
--cc=claudiu.beznea@microchip.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=tudor.ambarus@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®