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)
commit39d1c90665e3ee471b3005780a7df58bb1ba622d
treefaf3b899c2ec1eb12c93e05439fe0870a48dc177
parent0e4b8a2349f3aa9b54c217b338ee65d8b2b6b739
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: 3e37b005580b ("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