]> git.baikalelectronics.ru Git - kernel.git/commit
can: sun4i_can: Add acceptance register quirk
authorJohn Watts <contact@jookia.org>
Fri, 21 Jul 2023 22:15:52 +0000 (08:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:01 +0000 (11:11 +0200)
commit4eb79abf910a8872eefc1fb612b65e7d97636b5d
treee3c0fae8dbe698e19aff51eedf6376b6b64ddc8e
parentf04b40cb70a599c6336f782a963fc8115ba57f48
can: sun4i_can: Add acceptance register quirk

[ Upstream commit 8cda0c6dfd42ee6f2586e7dffb553aaf1fcb62ca ]

The Allwinner D1's CAN controllers have the ACPC and ACPM registers
moved down. Compensate for this by adding an offset quirk for the
acceptance registers.

Signed-off-by: John Watts <contact@jookia.org>
Link: https://lore.kernel.org/all/20230721221552.1973203-5-contact@jookia.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/can/sun4i_can.c