]> git.baikalelectronics.ru Git - kernel.git/commit
clk: lan966x: Fix the lan966x clock gate register address
authorHerve Codina <herve.codina@bootlin.com>
Mon, 4 Jul 2022 10:28:43 +0000 (12:28 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 19 Jul 2022 07:04:10 +0000 (00:04 -0700)
commit5b2de6a388c8d56b0e04bd796faed6284db0ea8f
treedfeac69daeb2568d161974e8a6cf1e94b5c52abd
parent92d95a902779857d78f29c2d53ed8ed66b61e6e4
clk: lan966x: Fix the lan966x clock gate register address

The register address used for the clock gate register is the base
register address coming from first reg map (ie. the generic
clock registers) instead of the second reg map defining the clock
gate register.

Use the correct clock gate register address.

Fixes: 0022b8491fc0 ("clk: lan966x: Extend lan966x clock driver for clock gating support")
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20220704102845.168438-2-herve.codina@bootlin.com
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-lan966x.c