summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/rockchip/rockchip_canfd-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/rockchip/rockchip_canfd-rx.c')
-rw-r--r--drivers/net/can/rockchip/rockchip_canfd-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/rockchip/rockchip_canfd-rx.c b/drivers/net/can/rockchip/rockchip_canfd-rx.c
index 9f72483dab18..bacef5e5dc39 100644
--- a/drivers/net/can/rockchip/rockchip_canfd-rx.c
+++ b/drivers/net/can/rockchip/rockchip_canfd-rx.c
@@ -124,7 +124,7 @@ static int rkcanfd_rxstx_filter(struct rkcanfd_priv *priv,
WRITE_ONCE(priv->tx_tail, priv->tx_tail + 1);
netif_subqueue_completed_wake(priv->ndev, 0, 1, frame_len,
- rkcanfd_get_tx_free(priv),
+ rkcanfd_get_effective_tx_free(priv),
RKCANFD_TX_START_THRESHOLD);
*tx_done = true;