Skip to content
Snippets Groups Projects
Commit 0515760f authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Mark Brown
Browse files

ALSA: ac97c: Fix an error handling path in 'atmel_ac97c_probe()'


If 'clk_prepare_enable()' fails, we must release some resources before
returning. Add a new label in the existing error handling path and 'goto'
there.

Fixes: 260ea95c ("ASoC: atmel: ac97c: Handle return value of clk_prepare_enable.")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent acd617a4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment