From: Thomas Gleixner Date: Fri, 11 Apr 2014 08:13:22 +0000 (+0000) Subject: can: c_can: Remove tx locking X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~39^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35bdafb576c5c0a06815e7a681571c3ab950ff7e;p=pandora-kernel.git can: c_can: Remove tx locking Mark suggested to use one IF for the softirq and the other for the xmit function to avoid the xmit lock. That requires to write the frame into the interface first, then handle the echo skb and store the dlc before committing the TX request to the message ram. We use an atomic to handle the active buffers instead of reading the MSGVAL register as thats way faster especially on PCH/x86. Suggested-by: Mark Signed-off-by: Thomas Gleixner Tested-by: Alexander Stein Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed