Messages in this thread | | | From | Marc Pignat <> | Subject | Re: [PATCH] atmel_spi: support zero length transfer | Date | Thu, 21 Feb 2008 10:26:16 +0100 |
| |
Hi!
On Thursday 21 February 2008, Atsushi Nemoto wrote: ... > Yes. I tested it on AT91SAM9260 and it seems ENDRX rises soon. > Though it can be possible to avoid starting DMA for zero length > transfer, I think it is not worth to optimize for such a rare case. Ok, verified to work on at91rm9200, should be tested on AVR32.
David, do you think writing 0 bytes is a valid use of this API? IMHO, we should add a fied to the spi_transfer struct.
Regards
Marc
| |