Skip to content

Commit

Permalink
can: m_can: Add call to of_can_transceiver
Browse files Browse the repository at this point in the history
Add call to new generic functions that provides support via a binding
to limit the arbitration rate and/or data rate imposed by the physical
transceiver connected to the MCAN peripheral.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Franklin S Cooper Jr authored and Marc Kleine-Budde committed Jan 16, 2018
1 parent cdf8259 commit 31643dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/can/m_can/m_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,8 @@ static int m_can_plat_probe(struct platform_device *pdev)

devm_can_led_init(dev);

of_can_transceiver(dev);

dev_info(&pdev->dev, "%s device registered (irq=%d, version=%d)\n",
KBUILD_MODNAME, dev->irq, priv->version);

Expand Down

0 comments on commit 31643dc

Please sign in to comment.