diff options
author | Guennadi Liakhovetski <gl@dsa-ac.de> | 2007-03-30 08:49:55 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-04-01 22:38:01 +0100 |
commit | 9a4d93d49d140c196020a1bae339efcf211cac03 (patch) | |
tree | f2a7baa89513ad8c988b23b647d8d9bc95b78fd7 /drivers/net/at1700.c | |
parent | 6c330ba72c45007a9ef681396925c22d11029008 (diff) | |
download | kernel_samsung_tuna-9a4d93d49d140c196020a1bae339efcf211cac03.zip kernel_samsung_tuna-9a4d93d49d140c196020a1bae339efcf211cac03.tar.gz kernel_samsung_tuna-9a4d93d49d140c196020a1bae339efcf211cac03.tar.bz2 |
[ARM] 4295/2: Fix error-handling in pxaficp_ir.c (version 2)
This patch addresses the following issues with the pxa2xx FIr driver:
1. increment overrun error counter and not frame error counter on ICSR1_ROR bit set in ICSR1.
2. drop frames reported with the frame error from the IC.
3. when resetting the receiver and preparing it for the next DMA in pxa_irda_fir_irq() actually clear the Rx FIFO. See description in Table 11-2 in PXA270 Developer's Manual of the RXE bit.
Correction added in version 2: clearing the IC Rx FIFO also has to be done in pxa_irda_fir_dma_tx_irq()
Signed-off-by: G. Liakhovetski <gl@dsa-ac.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/net/at1700.c')
0 files changed, 0 insertions, 0 deletions