]> git.baikalelectronics.ru Git - kernel.git/commit
can: kvaser_pciefd: the PWM generator is running at the bus frequency of the system.
authorChrister Beskow <chbe@kvaser.com>
Tue, 27 Aug 2019 15:13:26 +0000 (17:13 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 3 Sep 2019 08:23:57 +0000 (10:23 +0200)
commit4be0b9aaa7b9d7f091c007cc188b82047f952544
tree91407801ab5f232feae8f7aae308be9a0dce2db6
parent4a850343a3276a002d800841d9e463cd0271ee7f
can: kvaser_pciefd: the PWM generator is running at the bus frequency of the system.

The system clock frequency for the bus connected to the PCIe controller
shall be used when calculating the frequency of the PWM, not the CAN
system clock frequency.

Signed-off-by: Christer Beskow <chbe@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/kvaser_pciefd.c