As the real value is 2^p a input value of 0 is actually valid. Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> --- drivers/clk/tegra/clk-pll.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c index f3257c4..c18c67f 100644 --- a/drivers/clk/tegra/clk-pll.c +++ b/drivers/clk/tegra/clk-pll.c @@ -196,8 +196,6 @@ static int _get_table_rate(struct clk *hw, if (sel->input_rate == 0) return -EINVAL; - BUG_ON(sel->p < 1); - cfg->input_rate = sel->input_rate; cfg->output_rate = sel->output_rate; cfg->m = sel->m; -- 1.9.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox