[ECOS] SPI driver for AT91
Savin Zlobec
savin@elatec.si
Wed Oct 13 08:40:00 GMT 2004
Andrew Lunn wrote:
>On Tue, Oct 12, 2004 at 10:00:31AM -0400, Nicolas Brouard wrote:
>
>
>>Hi,
>>in the file packages/devs/spi/arm/at91/current/src/spi_at91.c, the line 360
>>has no effect.
>> if (NULL != rx_data);
>> rx_data += tr_count;
>>I suppose we have to remove the ';' at the end of the line.
>>
>>
>
>Curtainly looks wrong, but lets wait for Savin to comment.
>
>
Yes, it is a typo. Problems would arise in transfers larger then 0xFFFF
bytes
with rx data pointer set to NULL. Attached is the patch.
Thanks,
savin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spi_at91.diff
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20041013/7ac101d5/attachment.ksh>
-------------- next part --------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list