Skip to content
Snippets Groups Projects
user avatar
Dinghao Liu authored
[ Upstream commit 28d21191 ]

When clk_hw_register_fixed_rate_with_accuracy() fails,
clk_data should be freed. It's the same for the subsequent
two error paths, but we should also unregister the already
registered clocks in them.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201020061226.6572-1-dinghao.liu@zju.edu.cn


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
569da7c3
Name Last commit Last update