Re: [PATCH] can: hi311x: Work around TX complete interrupt erratum

2018-05-10 Thread Marc Kleine-Budde
On 05/09/2018 02:43 PM, Lukas Wunner wrote: > When sending packets as fast as possible using "cangen -g 0 -i -x", the > HI-3110 occasionally latches the interrupt pin high on completion of a > packet, but doesn't set the TXCPLT bit in the INTF register. The INTF > register contains 0x00 as if no i

Re: [PATCH] can: hi311x: Work around TX complete interrupt erratum

2018-05-10 Thread Akshay Bhat
On Wed, May 9, 2018 at 8:43 AM, Lukas Wunner wrote: > When sending packets as fast as possible using "cangen -g 0 -i -x", the > HI-3110 occasionally latches the interrupt pin high on completion of a > packet, but doesn't set the TXCPLT bit in the INTF register. The INTF > register contains 0x00 a

Re: [PATCH] can: hi311x: Work around TX complete interrupt erratum

2018-05-09 Thread Lukas Wunner
On Wed, May 09, 2018 at 02:43:43PM +0200, Lukas Wunner wrote: > When sending packets as fast as possible using "cangen -g 0 -i -x", the > HI-3110 occasionally latches the interrupt pin high on completion of a > packet, but doesn't set the TXCPLT bit in the INTF register. The INTF > register contai

[PATCH] can: hi311x: Work around TX complete interrupt erratum

2018-05-09 Thread Lukas Wunner
When sending packets as fast as possible using "cangen -g 0 -i -x", the HI-3110 occasionally latches the interrupt pin high on completion of a packet, but doesn't set the TXCPLT bit in the INTF register. The INTF register contains 0x00 as if no interrupt has occurred. Even waiting for a few milli