From: Nicolas Ferre
Add dmaengine support.
For different SoC, the "has_dma_support" is used to select
the transfer mode: dmaengine or PDC.
For the dmaengine transfer mode, if it fails to config dmaengine,
or if the message len less than 16 bytes, it will use the PIO transfer mode.
Signed-off-b
From: Richard Genoud
Signed-off-by: Richard Genoud
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
---
drivers/spi/spi-atmel.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
ind
From: Richard Genoud
Signed-off-by: Richard Genoud
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
---
drivers/spi/spi-atmel.c | 46 +-
1 file changed, 37 insertions(+), 9 deletions(-)
diff --git a/drivers/spi/spi-atmel.c
From: Richard Genoud
This is the following of the patch e2b35f3dbfc080f15b72834d08f04f0269dbe9be
Signed-off-by: Richard Genoud
[wenyou.y...@atmel.com: fix DMA: when enable both spi0 and spi1, spi0 doesn't
work]
Signed-off-by: Wenyou Yang
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lis
From: Nicolas Ferre
The status of transfer is stored in controller data structure
so that it can be used not only by atmel_spi_msg_done() function.
This will be useful for upcoming dmaengine enabled driver.
Signed-off-by: Nicolas Ferre
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lists.s
From: Nicolas Ferre
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
---
drivers/spi/spi-atmel.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/spi-atmel.c b/drivers
From: Nicolas Ferre
Will allow to drop the lock during DMA operations.
Signed-off-by: Nicolas Ferre
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
---
drivers/spi/spi-atmel.c | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
d
From: Nicolas Ferre
Signed-off-by: Nicolas Ferre
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
---
drivers/spi/spi-atmel.c |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 4516839..
Grant said he would find it helpful for me to continue handling some of
the legwork for SPI so add myself to MAINTAINERS so I get CCed on
patches.
Signed-off-by: Mark Brown
---
MAINTAINERS |1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ae9f8b8..6332eff 100
On Thu, Nov 01, 2012 at 02:05:36PM -0400, Vivien Didelot wrote:
> As for i2c-core, let the SPI core handle the removal of the device's
> drvdata, after a remove() or a probe() failure.
Any driver that notices this change is buggy, the driver shouldn't
use a drvdata value that it didn't set. I had
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML
Lien miroir :
http://m10-fr.com/mc10_m/YT04JmI9Mjk2ODEmYz0xOTYxNjQxJmQ9MjAxMy0wMS0xNCAwMDowMDowMSZlPTEmaD0yOTY3OSZmPTI5NjgxJmc9Mjk2ODE=
Lien de désinscription :
http://m10-fr.com/mc10_unsub/YT04JmI9Mjk2ODEmYz0xOTYxNjQxJm
11 matches
Mail list logo