Skip to content
Commit 5e0ca9b4 authored by Alexander Wachter's avatar Alexander Wachter Committed by Kumar Gala
Browse files

drivers: can: sjw == 0 in can_set_timing should not change sjw



If the supplied sjw in the timing parameters is zero,
the sjw parameter should not be changed.
This fixes the uninitialized swj in can_set_bitrate.

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