diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-04-21 14:04:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-21 16:58:38 +0100 |
commit | 8e42db1eaab6c2558dbc2e6c1428730df0a295f4 (patch) | |
tree | 7625993cf1061fa92fb315dcacc88108e425911b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 43b27d7286737d9af9ebeff0219e38560cb31748 (diff) |
ASoC: arizona: Prefer lower FRATIO in pseudo-fractional mode
When setting up an FLL in pseudo-fractional mode it is preferred
to use a lower FRATIO if possible to give a higher reference clock
frequency. This patch swaps the two loops in arizona_calc_fratio()
so that lower FRATIOs are tried first. The decrementing loop is also
changed to start from init_ratio because the original settings might
already give a fractional value for N.K
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions