Re: [PATCH 09/18] spi: rspi: SPI DMA core needs both RX and TX DMA to function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 02, 2014 at 03:38:11PM +0200, Geert Uytterhoeven wrote:
> The SPI DMA core framework needs both RX and TX DMA to function.  As a
> preparation for converting the driver to use this framework, fall back to
> PIO if no DMA channel or only one DMA channel is available.

> This affects only RSPI, which could do DMA transfers for TX-only before.
> RSPI-RZ and QSPI (at least for Single SPI Transfers) will need both RX and
> TX DMA anyway.

Hrm, was this error handling or is it a hardware limitation that it can
only do DMA in one direction?  Perhaps the core ought to be changed to
support that if it's a hardware limit, I honestly hadn't considered that
possibility when I wrote the code.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux