Skip to content
Commit fb8687a4 authored by Martin Stumpf's avatar Martin Stumpf Committed by Daniel DeGrasse
Browse files

spi_nxp_lpspi: Fix underflow in lpspi sck calculation



If `desired_delay_ns` is `0`, it is much saner to set the delay to `0x00`
than to underflow and set it to `0xff`, which is the current behavior.

Signed-off-by: default avatarMartin Stumpf <finomnis@gmail.com>
(cherry picked from commit 860f9c8e)
parent 7abcf051
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment