diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-11-25 22:15:20 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-11-26 15:39:47 +0100 |
commit | 1a3e5173f5e72cbf7f0c8927b33082e361c16d72 (patch) | |
tree | 83e4fbb0eea86854c6861cc42d52a74b9900e5fb /drivers/net/usb/sr9700.h | |
parent | 7ee330c7b3b738847bf297912b371bbcec3bc994 (diff) |
can: flexcan: use correct clock as base for bit rate calculation
The flexcan IP core uses the peripheral clock ("per") as basic clock for the
bit timing calculation. However the driver uses the the wrong clock ("ipg").
This leads to wrong bit rates if the rates on both clock are different.
This patch fixes the problem by using the correct clock for the bit rate
calculation.
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/usb/sr9700.h')
0 files changed, 0 insertions, 0 deletions