Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be80dbaa authored by Kevin Wells's avatar Kevin Wells Committed by Ben Dooks
Browse files

i2c-pnx: Limit maximum divider to 1023



Limit maximum divider to 0x3ff to divider computations. On high I2C
parent clock rates, the divider can exceed 0x3ff. This will help
prevent some very odd clock rates.

Signed-off-by: default avatarKevin Wells <wellsk40@gmail.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 7c6bd201
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