can: flexcan: flexcan_chip_start(): cleanup writing of reg_mcr
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 31 Aug 2015 19:32:34 +0000 (21:32 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2015 06:38:22 +0000 (08:38 +0200)
commit749de6fce2dd67b40f4118bf694be37f9093c3f5
tree5c84343ebcae96bf5ed79a7cff9d453452f0ddc1
parent8c411745dd6ddbe745ee25cd1f6db856e920e7fa
can: flexcan: flexcan_chip_start(): cleanup writing of reg_mcr

This patch changes the order the individual bits of the mcr register in
flexcan_chip_start() are or'ed together to match the datasheet. The inline
documentation is adjusted accordingly.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c