diff options
author | Jimmy Assarsson <extja@kvaser.com> | 2022-06-03 10:38:19 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-07-04 12:42:05 +0200 |
commit | e6c80e601053ffdac5709f11ff3ec1e19ed05f7b (patch) | |
tree | b1769c44ccb5798467c24d490ebb88e2a6cbb172 /drivers/clocksource/timer-microchip-pit64b.c | |
parent | 49f274c72357d2d74cba70b172cf369768909707 (diff) | |
download | linux-e6c80e601053ffdac5709f11ff3ec1e19ed05f7b.tar.bz2 |
can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
The firmware of M32C based Leaf devices expects bittiming parameters
calculated for 16MHz clock. Since we use the actual clock frequency of
the device, the device may end up with wrong bittiming parameters,
depending on user requested parameters.
This regression affects M32C based Leaf devices with non-16MHz clock.
Fixes: fb12797ab1fe ("can: kvaser_usb: get CAN clock frequency from device")
Link: https://lore.kernel.org/all/20220603083820.800246-3-extja@kvaser.com
Cc: stable@vger.kernel.org
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/clocksource/timer-microchip-pit64b.c')
0 files changed, 0 insertions, 0 deletions