Skip to content
Commit 488f9bc8 authored by Phil Elwell's avatar Phil Elwell
Browse files

clk-bcm2835: Correct the prediv logic



If a clock has the prediv flag set, both the integer and fractional
parts must be scaled when calculating the resulting frequency.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent 173791eb
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