/* output the best PLL setting */
if ((nr_out <= PLL_NR_MAX) && (no_out > 0)) {
- if (rate_table->nr && rate_table->nf && rate_table->no) {
- rate_table->nr = nr_out;
- rate_table->nf = nf_out;
- rate_table->no = no_out;
- }
+ rate_table->nr = nr_out;
+ rate_table->nf = nf_out;
+ rate_table->no = no_out;
} else {
return NULL;
}
return &rate_table[i];
}
- if (pll->type == pll_rk3066 || pll->type == pll_rk3328)
+ if (pll->type == pll_rk3066)
return rockchip_rk3066_pll_clk_set_by_auto(pll, 24 * MHZ, rate);
else
return rockchip_pll_clk_set_by_auto(pll, 24 * MHZ, rate);