]> git.baikalelectronics.ru Git - kernel.git/commit
can: flexcan: increase FLEXCAN_MCR_MAXMB() macro to 7 bits
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 2 Sep 2014 14:54:17 +0000 (16:54 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 18 Sep 2014 09:15:36 +0000 (11:15 +0200)
commitdd00ad2d7792409d25ea8022d97a542aa415f341
tree6a2a76fc5ff8f0c72b72791938b86b0e63a9fd7a
parent3a3c4809b4d2594f33f7de2424efbf96ecbdea08
can: flexcan: increase FLEXCAN_MCR_MAXMB() macro to 7 bits

This patch increases the mask in the FLEXCAN_MCR_MAXMB() to 7 bits as in the
newer flexcan cores the MAXMB field is 7 bits wide.

Reported-by: David Jander <david@protonic.nl>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c