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)
commitec44dd579038efeeae25f10cba871c0e150d0110
tree91407801ab5f232feae8f7aae308be9a0dce2db6
parent67538eb5c00f08d7fe27f1bb703098b17302bdc0
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