]> git.baikalelectronics.ru Git - uboot.git/commit
clk: k210: Don't set PLL rates if we are already at the correct rate
authorSean Anderson <seanga2@gmail.com>
Fri, 11 Jun 2021 04:16:12 +0000 (00:16 -0400)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 17 Jun 2021 01:40:57 +0000 (09:40 +0800)
commit52e02266dc901b2e5872e9da9a6e5057df452b29
tree56c92d27789945553b2b663491485dbc741824be
parent8f1c808c6d6a8c03782416c4c89be8dc90702f75
clk: k210: Don't set PLL rates if we are already at the correct rate

This speeds up boot by preventing multiple reconfigurations of the PLLs.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/clk/kendryte/clk.c