diff mbox series

net: can: xilinx_can: Fix flags field initialization for axi can

Message ID 1570606187-30935-1-git-send-email-appana.durga.rao@xilinx.com (mailing list archive)
State Mainlined
Commit 659680bc232ff29cd6aea8df58115775ac365565
Headers show
Series net: can: xilinx_can: Fix flags field initialization for axi can | expand

Commit Message

Appana Durga Kedareswara rao Oct. 9, 2019, 7:29 a.m. UTC
AXI CANIP doesn't support tx fifo empty interrupt feature(TXFEMP),
update the flags filed in the driver for AXI CAN case accordingly.

Fixes: 3281b380ec9f ("can: xilinx_can: Fix flags field initialization for axi can and canps")
Reported-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
---
 drivers/net/can/xilinx_can.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Marc Kleine-Budde Oct. 9, 2019, 7:54 a.m. UTC | #1
On 10/9/19 9:29 AM, Appana Durga Kedareswara rao wrote:
> AXI CANIP doesn't support tx fifo empty interrupt feature(TXFEMP),
> update the flags filed in the driver for AXI CAN case accordingly.
> 
> Fixes: 3281b380ec9f ("can: xilinx_can: Fix flags field initialization for axi can and canps")
> Reported-by: Anssi Hannula <anssi.hannula@bitwise.fi>
> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>

Included in linux-can.

thanks,
Marc
diff mbox series

Patch

diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c
index 911b34316c9d..7c482b2d78d2 100644
--- a/drivers/net/can/xilinx_can.c
+++ b/drivers/net/can/xilinx_can.c
@@ -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,