HomeFreeBSD

arm: allwinner: clk: Fix nm_recalc

Description

arm: allwinner: clk: Fix nm_recalc

When comparing best frequencies use the absolute value.
If we do not do that we end up choosing an always lower value than
the best one if the exact freq cannot be met.

MFC after: 2 weeks

Details

Provenance
manuAuthored on
Parents
rS345710: MFhead@r345709
Branches
Unknown
Tags
Unknown