Skip to content
Unverified Commit 95730d5e authored by zpershuai's avatar zpershuai Committed by Mark Brown
Browse files

spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.



In meson_spifc_probe function, when enable the device pclk clock is
error, it should use clk_disable_unprepare to release the core clock.

Signed-off-by: default avatarzpershuai <zpershuai@gmail.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/1623562172-22056-1-git-send-email-zpershuai@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3acbacfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment