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

Commit 3281b380 authored by Appana Durga Kedareswara rao's avatar Appana Durga Kedareswara rao Committed by Marc Kleine-Budde
Browse files

can: xilinx_can: Fix flags field initialization for axi can and canps



AXI CAN IP and CANPS IP supports tx fifo empty feature, this patch updates
the flags field for the same.

Signed-off-by: default avatarAppana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent c942a575
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1426,6 +1426,7 @@ static const struct dev_pm_ops xcan_dev_pm_ops = {
};

static const struct xcan_devtype_data xcan_zynq_data = {
	.flags = XCAN_FLAG_TXFEMP,
	.bittiming_const = &xcan_bittiming_const,
	.btr_ts2_shift = XCAN_BTR_TS2_SHIFT,
	.btr_sjw_shift = XCAN_BTR_SJW_SHIFT,
@@ -1433,6 +1434,7 @@ static const struct xcan_devtype_data xcan_zynq_data = {
};

static const struct xcan_devtype_data xcan_axi_data = {
	.flags = XCAN_FLAG_TXFEMP,
	.bittiming_const = &xcan_bittiming_const,
	.btr_ts2_shift = XCAN_BTR_TS2_SHIFT,
	.btr_sjw_shift = XCAN_BTR_SJW_SHIFT,