[PATCH 24/30] clk: tegra: don't bug out on zero PLL postdiv
Lucas Stach
dev at lynxeye.de
Tue Jun 3 13:35:11 PDT 2014
As the real value is 2^p a input value of 0 is
actually valid.
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
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
More information about the barebox
mailing list