]> www.infradead.org Git - users/jedix/linux-maple.git/commit
can: rockchip_canfd: rkcanfd_chip_fifo_setup(): remove duplicated setup of RX FIFO
authorRobin van der Gracht <robin@protonic.nl>
Mon, 27 Jan 2025 12:16:44 +0000 (13:16 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 19 Feb 2025 11:17:40 +0000 (12:17 +0100)
commitd9e1cc087a55286fe028e0f078159b30d7da90bd
treef7af0a013f7d1ea0817f6655595107bbe006a018
parent32f08b22f3b88b7ba43fa8f4090dfd9575343256
can: rockchip_canfd: rkcanfd_chip_fifo_setup(): remove duplicated setup of RX FIFO

The rockchip_canfd driver doesn't make use of the TXE FIFO.

Although the comment states that the TXE FIFO is setup, it's actually
a setup of the RX FIFO. The regular setup of the RX FIFO follows.

Remove the duplicated setup of the RX FIFO.

Fixes: ff60bfbaf67f ("can: rockchip_canfd: add driver for Rockchip CAN-FD controller")
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Link: https://patch.msgid.link/20250219-rk3568-canfd-v1-1-453869358c72@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rockchip/rockchip_canfd-core.c