summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-08-04 13:46:10 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-02-06 15:13:36 +0100
commit28ac7dcd5b1354e46f5f28a53b5a6b443fcc88ed (patch)
tree0bc0aa5e1690d64c9762af01c8c0a2e75550af35
parentdd2f122a96ea041679f46c063a18145a7cf6ff5f (diff)
can: flexcan: calculate default value for imask1 during runtime
This patch converts the define FLEXCAN_IFLAG_DEFAULT into the runtime calculated value priv->reg_imask1_default. This is a preparation patch to make the TX mailbox selectable during runtime, too. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--drivers/net/can/flexcan.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c