Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 535b544b authored by Balachandra C S's avatar Balachandra C S
Browse files

drivers: net: can: Use proper device property in qti-can driver



Use the proper device tree property in qti-can driver for enabling
can-fd feature.

Change-Id: I4c59e7037a8e0f4972603aceb65138a190080074
Signed-off-by: default avatarBalachandra C S <balacs@codeaurora.org>
parent b631e68e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1340,7 +1340,7 @@ static int qti_can_probe(struct spi_device *spi)
	}

	priv_data->support_can_fd = of_property_read_bool(spi->dev.of_node,
							  "support-can-fd");
							  "qcom,support-can-fd");

	if (of_device_is_compatible(spi->dev.of_node, "qcom,nxp,mpc5746c"))
		qti_can_bittiming_const = flexcan_bittiming_const;