]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sprd: fix to get a correct ibias of pll
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Mon, 30 Mar 2020 02:16:40 +0000 (10:16 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 3 Apr 2020 01:07:58 +0000 (18:07 -0700)
commit4e039f983647142db4a2eb0ede45522ff481453b
treefaf3b899c2ec1eb12c93e05439fe0870a48dc177
parent969569c30d9024f9f0c497cdb5df87e90766a70a
clk: sprd: fix to get a correct ibias of pll

The current driver is getting a wrong ibias index of pll clocks from
number 1. This patch fix that issue, then getting ibias index from 0.

Fixes: 7c8986590aa5 ("clk: sprd: add adjustable pll support")
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lkml.kernel.org/r/20200330021640.14133-1-zhang.lyra@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sprd/pll.c