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
arm: allwinner: clk: Fix nm_recalc Tags None Referenced Files None Subscribers None
Description
Details
|