]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
can: at91_can: fix comment about priv->tx_next
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 16 Apr 2011 11:25:15 +0000 (13:25 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Jun 2011 09:00:10 +0000 (11:00 +0200)
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/at91_can.c

index 8f15ae4c719fa6cae6689e11d787f47e184c1898..afd0f5d394b0a561d6c79f4994db918bbe34589c 100644 (file)
@@ -375,7 +375,7 @@ static void at91_chip_stop(struct net_device *dev, enum can_state state)
  * mailbox, but without the offset AT91_MB_TX_FIRST. The lower bits
  * encode the mailbox number, the upper 4 bits the mailbox priority:
  *
- * priv->tx_next = (prio << AT91_NEXT_PRIO_SHIFT) ||
+ * priv->tx_next = (prio << AT91_NEXT_PRIO_SHIFT) |
  *                 (mb - AT91_MB_TX_FIRST);
  *
  */