]> git.baikalelectronics.ru Git - kernel.git/commit
can: m_can: remove support for custom bit timing, take #2
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 12 May 2022 12:41:44 +0000 (15:41 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 14 May 2022 18:53:01 +0000 (20:53 +0200)
commit419081beb0fd66a180ec4d1c4b47af2f7c540fa1
treeb8d4c42c1d8983078b61761962c7a167d43b055e
parentd27cd871a4b8c875638e461bf7d272eab504c125
can: m_can: remove support for custom bit timing, take #2

Now when Intel Elkhart Lake uses again common bit timing and there are
no other users for custom bit timing, we can bring back the changes
done by the commit 643a5b2ccbb3 ("can: m_can: remove support for
custom bit timing").

This effectively reverts commit 3910ecf0cac3 ("Revert "can: m_can:
remove support for custom bit timing"") while taking into account
commit 4864beedda44 ("can: m_can: make custom bittiming fields const")
and commit 6907f688412a ("can: dev: add sanity check in
can_set_static_ctrlmode()").

Link: https://lore.kernel.org/all/20220512124144.536850-2-jarkko.nikula@linux.intel.com
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c
drivers/net/can/m_can/m_can.h