mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
clk: update pcie pll config
PD#148744: update axg pcie pll config Change-Id: I4adf79f40f70cd23427f018e7030aeaa9bd080c4 Signed-off-by: Yun Cai <yun.cai@amlogic.com>
This commit is contained in:
@@ -274,7 +274,7 @@ static const struct pll_rate_table axg_gp0_pll_rate_table[] = {
|
||||
};
|
||||
|
||||
static const struct pll_rate_table axg_pcie_pll_rate_table[] = {
|
||||
PLL_FRAC_RATE(100000000, 66, 1, 1, 3, 683),
|
||||
PLL_FRAC_RATE(100000000, 200, 3, 1, 3, 0),
|
||||
{ /* sentinel */ },
|
||||
};
|
||||
#endif /* __AXG_H */
|
||||
|
||||
@@ -725,7 +725,7 @@ static int __init amlogic_pcie_probe(struct platform_device *pdev)
|
||||
goto fail_pcie;
|
||||
}
|
||||
|
||||
if (clk_get_rate(amlogic_pcie->bus_clk) == rate) {
|
||||
if (clk_get_rate(amlogic_pcie->bus_clk) != rate) {
|
||||
ret = -ENODEV;
|
||||
goto fail_pcie;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user