]> 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)
commit202f4a991423f33b5852d00c402eb96b143ddcd6
treefaf3b899c2ec1eb12c93e05439fe0870a48dc177
parentb4ca7dbbbc1d0052c7fde7a56780b2788e5c730c
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: edb8737dcd4b ("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