Skip to content
Commit e9294823 authored by Phil Elwell's avatar Phil Elwell Committed by Phil Elwell
Browse files

spi: dw: Clamp the minimum clock speed



The DW SPI interface has a 16-bit clock divider, where the bottom bit
of the divisor must be 0. Limit how low the clock speed can go to
prevent the clock divider from being truncated, as that could lead to
a much higher clock rate than requested.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 199e6111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment