From: Benoît Locher Date: Mon, 27 Aug 2012 13:02:45 +0000 (+0200) Subject: can: mcp251x: avoid repeated frame bug X-Git-Tag: v3.2.30~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0112e26a6a0f374041033fb5472f01db2658ac51;p=pandora-kernel.git can: mcp251x: avoid repeated frame bug commit cab32f39dcc5b35db96497dc0a026b5dea76e4e7 upstream. The MCP2515 has a silicon bug causing repeated frame transmission, see section 5 of MCP2515 Rev. B Silicon Errata Revision G (March 2007). Basically, setting TXBnCTRL.TXREQ in either SPI mode (00 or 11) will eventually cause the bug. The workaround proposed by Microchip is to use mode 00 and send a RTS command on the SPI bus to initiate the transmission. Signed-off-by: Benoît Locher Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed