spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word.
Subsystems (4)
PATCH 1/1 spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word.
The DMA-slave configuration depends on the whether <= 8 or > 8 bits are transferred per word, so we need to call atmel_spi_dma_slave_config() with the correct value.
--- drivers/spi/spi-atmel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/spi/spi-atmel.c +2 -1
@@ -758,7 +758,8 @@ static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, *plen = len; -if (atmel_spi_dma_slave_config (as, &slave_config,8 )) +if (atmel_spi_dma_slave_config (as, &slave_config, + xfer->bits_per_word)) goto err_exit;/* Send both scatterlists */
Signature · 1 line
1.9.1
PATCH 1/1 spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word.
Le 19/10/2015 22:54, David Mosberger-Tang a ?crit :
Quoted 5 lines
The DMA-slave configuration depends on the whether <= 8 or > 8 bits are transferred per word, so we need to call
atmel_spi_dma_slave_config()with the correct value.Signed-off-by David Mosberger <[email protected]>
Thanks for having rewritten this patch! It's much more simple like this ;-)
For Mark, here is the patchwork entry which can be handy:
https://patchwork.kernel.org/patch/7439931/
Best regards,
Quoted 19 lines
--- drivers/spi/spi-atmel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/spi/spi-atmel.c +2
-1@@ -758,7 +758,8 @@ static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, *plen = len; -if (atmel_spi_dma_slave_config (as, &slave_config,8 )) +if (atmel_spi_dma_slave_config (as, &slave_config, + xfer->bits_per_word)) goto err_exit;/* Send both scatterlists */
Signature · 1 line
Nicolas Ferre
Mark Brown
maintainerPATCH 1/1 spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word.
Quoted 6 lines · Nicolas Ferre
Thanks for having rewritten this patch! It's much more simple like this ;-)
Acked-by Nicolas Ferre <[email protected]>For Mark, here is the patchwork entry which can be handy:
https://patchwork.kernel.org/patch/7439931/
No, please submit the patch via e-mail as covered in SubmittingPatches
and as I said yesterday.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151020/c11a2ef5/attachment.sig>
PATCH 1/1 spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word.
Le 20/10/2015 12:27, Mark Brown a ?crit :
Quoted 11 lines · Nicolas Ferre
Quoted 7 lines
Thanks for having rewritten this patch! It's much more simple like this ;-)
Acked-by Nicolas Ferre <[email protected]>For Mark, here is the patchwork entry which can be handy:
https://patchwork.kernel.org/patch/7439931/No, please submit the patch via e-mail as covered in SubmittingPatches and as I said yesterday.
Done right now ;-)
Thanks, bye,
Signature · 1 line
Nicolas Ferre
PATCH RESEND 1/1 spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word
In reply to David Mosberger-TangFrom: David Mosberger-Tang <[email protected]>
The DMA-slave configuration depends on the whether <= 8 or > 8 bits are transferred per word, so we need to call atmel_spi_dma_slave_config() with the correct value.
--- drivers/spi/spi-atmel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/spi/spi-atmel.c +2 -1
@@ -773,7 +773,8 @@ static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, *plen = len; -if (atmel_spi_dma_slave_config (as, &slave_config,8 )) +if (atmel_spi_dma_slave_config (as, &slave_config, + xfer->bits_per_word)) goto err_exit;/* Send both scatterlists */
Signature · 1 line
2.1.3
A message that is not in the archive (sent off-list or not yet received): 1445288084-31805-1-git-send-email-davidm-haPfTeumbwasTnJN9+BGXg@public.gmane.org
Applied "spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word" to the spi tree
The patch
spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
06515f83908d038d9e12ffa3dcca27a1b67f2de0Mon Sep 17 00:00:00 2001
From: David Mosberger-Tang <[email protected]>
Date: Tue, 20 Oct 2015 14:26:47 +0200
Subject: [PATCH] spi: atmel: Fix DMA-setup for transfers with more than 8 bits
per word
The DMA-slave configuration depends on the whether <= 8 or > 8 bits are transferred per word, so we need to call atmel_spi_dma_slave_config() with the correct value.
--- drivers/spi/spi-atmel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/spi/spi-atmel.c +2 -1
@@ -773,7 +773,8 @@ static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, *plen = len; -if (atmel_spi_dma_slave_config (as, &slave_config,8 )) +if (atmel_spi_dma_slave_config (as, &slave_config, + xfer->bits_per_word)) goto err_exit;/* Send both scatterlists */
Signature · 6 lines
2.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html