Hello,I prepared a new (better) version of the patch. Please consider applying it or otherwise fixing the bug.
Some comments: The first patch causes abort instead of hangs when PLL computation fails.The second changes the algorithm so it doesn't miss any solution which might be better than current and finds a solution iff there is one.
The third patch removes a condition which seems to be bogus for me - it cannot force pll->reference_div in the solution, but will probably poison the solution with a bad solution having good ref_div, for the next ref_div to override it with a better solution.
Regards Jiri Palecek
binDKWDCA5iu7.bin
Description: Binary data
binQaLkXyIANE.bin
Description: Binary data
bin8tqDAHvFpj.bin
Description: Binary data