Spi starts transfer using dma with DMA_CTRL_ACK which is not require
becasue spi driver does not use completed dma_desc after transfer
done and so it does not ack the dma descriptor. Removing the
DMA_CTRL_ACK flag to avoid memory leak in dma driver.
Signed-off-by: Laxman Dewangan
---
drivers/spi
On Thu, 22 Nov 2012 14:37:26 +, Phil Edworthy
wrote:
> The driver attempts to read the recieved data immediately after
> writing to the transmit buffer. If no data is available, the driver
> currently waits 20ms until trying again. Since the hardware needs
> to shift out the transmitted data,
On Thu, 22 Nov 2012 14:37:27 +, Phil Edworthy
wrote:
> The current HSPI driver used automatic CS control, leading to CS
> active for each byte transmitted. This patch changes the driver
> to manual CS control, and ensures CS is active thoughout a whole
> message. Additionally, it uses the cs_
Hi Grant,
> Sent by: Grant Likely
>
> On Thu, 22 Nov 2012 14:37:26 +, Phil Edworthy
> wrote:
> > The driver attempts to read the recieved data immediately after
> > writing to the transmit buffer. If no data is available, the driver
> > currently waits 20ms until trying again. Since the hard
On 11/23/2012 01:44 PM, Jean-Christophe PLAGNIOL-VILLARD :
> the atmel_spi use only gpio for chip select
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Seems simple and nice:
Acked-by: Nicolas Ferre
> Cc: spi-devel-general@lists.sourceforge.net
> Cc: Grant Likely
> ---
> Hi Grant,
>
>
The driver attempts to read the received data immediately after
writing to the transmit buffer. If no data is available, the driver
currently waits 20ms until trying again. Since the hardware needs
to shift out the transmitted data, the first poll always fails,
leading to 20ms delay between bytes.
the atmel_spi use only gpio for chip select
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: spi-devel-general@lists.sourceforge.net
Cc: Grant Likely
---
Hi Grant,
can we have this for 3.8
This patch is presetnt on the ML sing Feb 2012 and was depinding on
the cs-gpio
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML
Lien miroir :
http://m10-fr.com/mc10_m/YT0xMyZiPTI1MDU3JmM9NDgzNjEyJmQ9MjAxMi0xMS0yNCAwMzo0MDowMSZlPTEmaD0yNTA1NSZmPTI1MDU3Jmc9MjUwNTc=
Lien de désinscription :
http://m10-fr.com/mc10_unsub/YT0xMyZiPTI1MDU3JmM9NDgzNjEyJm
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML
Lien miroir :
http://m10-fr.com/mc10_m/YT0xMyZiPTI1MDU5JmM9NDgzNjEyJmQ9MjAxMi0xMS0yNCAwNDowMDowMSZlPTEmaD0yNTA1NyZmPTI1MDU5Jmc9MjUwNTk=
Lien de désinscription :
http://m10-fr.com/mc10_unsub/YT0xMyZiPTI1MDU5JmM9NDgzNjEyJm