Skip to content
Commit 898af168 authored by Luke Starrett's avatar Luke Starrett Committed by tarek-arm
Browse files

pl011: incorrect assert when fractional divisor is zero



During some refactoring, a2ab9889 introduced a logical bug in the
sanity check of the integer and fractional divisors. This can be seen
with the trivial case of int divisor = 2 and frac divisor = 0 causing
an assert.  Update the check to correctly reflect the comment, and HW
spec/TRM.

Signed-off-by: default avatarLuke Starrett <lukes@xsightlabs.com>
parent 7e077d9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment