From: Guennadi Liakhovetski Date: Fri, 30 Mar 2007 07:49:55 +0000 (+0100) Subject: [ARM] 4295/2: Fix error-handling in pxaficp_ir.c (version 2) X-Git-Tag: v2.6.21-rc6~37^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4d93d49d140c196020a1bae339efcf211cac03;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed