Message ID | 20210919022308.24046-1-shawn.guo@linaro.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | clk: qcom: gcc-sm6115: Fix offset for hlos1_vote_turing_mmu_tbu0_gdsc | expand |
Quoting Shawn Guo (2021-09-18 19:23:08) > It looks that the offset 0x7d060 is a copy & paste from above > hlos1_vote_turing_mmu_tbu1_gdsc. Correct it to 0x7d07c as per > downstream kernel. > > Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC) driver for SM6115") > Signed-off-by: Shawn Guo <shawn.guo@linaro.org> > --- Applied to clk-fixes
On 9/19/21 05:23, Shawn Guo wrote: > It looks that the offset 0x7d060 is a copy & paste from above > hlos1_vote_turing_mmu_tbu1_gdsc. Correct it to 0x7d07c as per > downstream kernel. You're right, 0x7d07c is the right offset, my bad. > Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC) driver for SM6115") > Signed-off-by: Shawn Guo <shawn.guo@linaro.org> > --- > drivers/clk/qcom/gcc-sm6115.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/qcom/gcc-sm6115.c b/drivers/clk/qcom/gcc-sm6115.c > index bc09736ece76..68fe9f6f0d2f 100644 > --- a/drivers/clk/qcom/gcc-sm6115.c > +++ b/drivers/clk/qcom/gcc-sm6115.c > @@ -3242,7 +3242,7 @@ static struct gdsc hlos1_vote_turing_mmu_tbu1_gdsc = { > }; > > static struct gdsc hlos1_vote_turing_mmu_tbu0_gdsc = { > - .gdscr = 0x7d060, > + .gdscr = 0x7d07c, > .pd = { > .name = "hlos1_vote_turing_mmu_tbu0", > }, > Acked-by: Iskren Chernev <iskren.chernev@gmail.com>
diff --git a/drivers/clk/qcom/gcc-sm6115.c b/drivers/clk/qcom/gcc-sm6115.c index bc09736ece76..68fe9f6f0d2f 100644 --- a/drivers/clk/qcom/gcc-sm6115.c +++ b/drivers/clk/qcom/gcc-sm6115.c @@ -3242,7 +3242,7 @@ static struct gdsc hlos1_vote_turing_mmu_tbu1_gdsc = { }; static struct gdsc hlos1_vote_turing_mmu_tbu0_gdsc = { - .gdscr = 0x7d060, + .gdscr = 0x7d07c, .pd = { .name = "hlos1_vote_turing_mmu_tbu0", },
It looks that the offset 0x7d060 is a copy & paste from above hlos1_vote_turing_mmu_tbu1_gdsc. Correct it to 0x7d07c as per downstream kernel. Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC) driver for SM6115") Signed-off-by: Shawn Guo <shawn.guo@linaro.org> --- drivers/clk/qcom/gcc-sm6115.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)