Skip to content

Commit

Permalink
can: xilinx_can: Fix flags field initialization for axi can
Browse files Browse the repository at this point in the history
AXI CANIP doesn't support tx fifo empty interrupt feature(TXFEMP),
update the flags filed in the driver for AXI CAN case accordingly.

Fixes: 3281b38 ("can: xilinx_can: Fix flags field initialization for axi can and canps")
Reported-by: Anssi Hannula <[email protected]>
Signed-off-by: Appana Durga Kedareswara rao <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
  • Loading branch information
kedareswararao authored and marckleinebudde committed Nov 4, 2019
1 parent 6f12001 commit 659680b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/can/xilinx_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,6 @@ static const struct xcan_devtype_data xcan_zynq_data = {

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

0 comments on commit 659680b

Please sign in to comment.