aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorJimmy Assarsson <[email protected]>2021-12-08 16:21:22 +0100
committerMarc Kleine-Budde <[email protected]>2021-12-09 09:01:43 +0100
commitfb12797ab1fef480ad8a32a30984844444eeb00d (patch)
tree74c472ed5bb1dbe7ee4b7f311e3279268c0999a1 /scripts/clang-tools/gen_compile_commands.py
parent36aea60fc892ce73f96d45dc7eb239c7c4c1fa69 (diff)
can: kvaser_usb: get CAN clock frequency from device
The CAN clock frequency is used when calculating the CAN bittiming parameters. When wrong clock frequency is used, the device may end up with wrong bittiming parameters, depending on user requested bittiming parameters. To avoid this, get the CAN clock frequency from the device. Various existing Kvaser Leaf products use different CAN clocks. Fixes: 080f40a6fa28 ("can: kvaser_usb: Add support for Kvaser CAN/USB devices") Link: https://lore.kernel.org/all/[email protected] Cc: [email protected] Signed-off-by: Jimmy Assarsson <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions