can: kvaser_pciefd: Use TX FIFO size read from CAN controller
authorJimmy Assarsson <extja@kvaser.com>
Mon, 29 May 2023 13:42:48 +0000 (15:42 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 22 Jun 2023 07:44:30 +0000 (09:44 +0200)
commit6fdcd64ec34dc896335718299c348de99b29a605
tree75b0f080279959272c084fcc125a4295926a7f3d
parentf4845741e4220eecf96aa157cbb5ba34aaed995e
can: kvaser_pciefd: Use TX FIFO size read from CAN controller

Use the TX FIFO size read from CAN controller register, instead of using
hard coded value.

Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20230529134248.752036-15-extja@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/kvaser_pciefd.c