clk: rockchip: rk3399: fix up the pr_err for debug
[firefly-linux-kernel-4.4.55.git] / drivers / clk / rockchip / clk-pll.c
index 978c1bb86c353a0d50a0b4c5fb390ac2d72fa9b2..6188a6cc13d2284a5a50d1787f5c979da4321938 100644 (file)
@@ -106,9 +106,9 @@ static int rockchip_pll_clk_set_postdiv(unsigned long fout_hz,
                                        return 0;
                                }
                        }
-                       pr_err("CANNOT FIND postdiv1/2 to make fout in range from 800M to 2000M,fout = %lu\n",
-                              fout_hz);
                }
+               pr_err("CANNOT FIND postdiv1/2 to make fout in range from 800M to 2000M,fout = %lu\n",
+                      fout_hz);
        } else {
                *postdiv1 = 1;
                *postdiv2 = 1;