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

spi: meson-spicc: fix memory leak in meson_spicc_probe



when meson_spicc_clk_init returns failed, it should goto the
out_clk label.

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


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 95730d5e
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