Skip to content
Commit 8b6c1bd4 authored by Alexander Wachter's avatar Alexander Wachter Committed by Carles Cufí
Browse files

drivers: can: Rework can_configure API



The previous API can't change the sampling-point and only allowed
bitrates that fit the time segments.
The new API allows for shifting the sampling-point and adjusts the
number of time quantum in a bit to all more possible bitrates.
The functions to calculate the timings are moved to the can_common file.
They can be used for all drivers.

Signed-off-by: default avatarAlexander Wachter <alexander@wachter.cloud>
parent caa35d1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment