Message ID | 1431019605-9786-6-git-send-email-damien.lespiau@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/skl_compute_wrpll.c b/tools/skl_compute_wrpll.c index a3a6e58..55f2df4 100644 --- a/tools/skl_compute_wrpll.c +++ b/tools/skl_compute_wrpll.c @@ -431,6 +431,13 @@ skl_ddi_calculate_wrpll2(int clock /* in Hz */, dco_freq, p); } + + /* + * If a solution is found with an even divider, prefer + * this one. + */ + if (d == 0 && ctx.p) + break; } }
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- tools/skl_compute_wrpll.c | 7 +++++++ 1 file changed, 7 insertions(+)