]> Git Repo - linux.git/commit
can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver
authorMarc Kleine-Budde <[email protected]>
Tue, 15 Dec 2020 10:32:38 +0000 (11:32 +0100)
committerMarc Kleine-Budde <[email protected]>
Thu, 7 Jan 2021 08:27:19 +0000 (09:27 +0100)
commitaee2b3ccc8a63d1cd7da6a8a153d1f3712d40826
treea5cda5c32183c356bf36d01043d6053259f3e3e1
parentc4aec381ab98c9189d47b935832541d520f1f67f
can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver

According to the TCAN4550 datasheet "SLLSF91 - DECEMBER 2018" the tcan4x5x has
the same bittiming constants as a m_can revision 3.2.x/3.3.0.

The tcan4x5x chip I'm using identifies itself as m_can revision 3.2.1, so
remove the tcan4x5x specific bittiming values and rely on the values in the
m_can driver, which are selected according to core revision.

Fixes: 5443c226ba91 ("can: tcan4x5x: Add tcan4x5x driver to the kernel")
Cc: Dan Murphy <[email protected]>
Reviewed-by: Sean Nyekjaer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
drivers/net/can/m_can/tcan4x5x.c
This page took 0.053454 seconds and 4 git commands to generate.