commit | 4dcf924c2eda0c47a5c53b7703e3dc65ddaa8920 | [log] [tgz] |
---|---|---|
author | Gerhard Bertelsmann <info@gerhard-bertelsmann.de> | Mon Nov 06 18:16:56 2017 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Nov 10 09:15:28 2017 +0100 |
tree | e742435ca056392373c7a028cef2a4c65eff3c80 | |
parent | fb5f0b3ef69b95e665e4bbe8a3de7201f09f1071 [diff] |
can: sun4i: handle overrun in RX FIFO SUN4Is CAN IP has a 64 byte deep FIFO buffer. If the buffer is not drained fast enough (overrun) it's getting mangled. Already received frames are dropped - the data can't be restored. Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>