From: David Jander Date: Wed, 27 Aug 2014 09:58:05 +0000 (+0200) Subject: can: flexcan: correctly initialize mailboxes X-Git-Tag: fixes-for-v3.18-merge-window~87^2~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc05b884a31dbf259cc73cc856e634ec3acbebb6;p=pandora-kernel.git can: flexcan: correctly initialize mailboxes Apparently mailboxes may contain random data at startup, causing some of them being prepared for message reception. This causes overruns being missed or even confusing the IRQ check for trasmitted messages, increasing the transmit counter instead of the error counter. This patch initializes all mailboxes after the FIFO as RX_INACTIVE. Signed-off-by: David Jander Cc: linux-stable Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed