Skip to content
Commit f27aaaec authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Sasha Levin
Browse files

clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()



[ Upstream commit 74e39f52 ]

The gates are stored in 'hi3519_gate_clks', not 'hi3519_mux_clks'.
This is also in line with how hisi_clk_register_gate() is called in the
probe.

Fixes: 224b3b26 ("clk: hisilicon: hi3519: add driver remove path and fix some issues")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/c3f1877c9a0886fa35c949c8f0ef25547f284f18.1704912510.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 44163c73
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment