summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/m_can
diff options
context:
space:
mode:
authorFranklin S Cooper Jr <fcooper@ti.com>2018-01-10 16:25:19 +0530
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-01-16 15:11:35 +0100
commit31643dc8fc66abdd3f68800483df4a5420f5e69c (patch)
tree442b85677f58e0f03777d75900c0ea7b5b192a90 /drivers/net/can/m_can
parentcdf8259d65739a04871513d4d17bb342ba1d4a46 (diff)
downloadlinux-31643dc8fc66abdd3f68800483df4a5420f5e69c.tar.bz2
can: m_can: Add call to of_can_transceiver
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>
Diffstat (limited to 'drivers/net/can/m_can')
-rw-r--r--drivers/net/can/m_can/m_can.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index 2f0e56d4c332..49ed8737871f 100644
--- a/drivers/net/can/m_can/m_can.c
+++ b/drivers/net/can/m_can/m_can.c
@@ -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);