]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: kirkwood: fix external clock probe defer
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 23 Oct 2019 13:46:44 +0000 (14:46 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Dec 2019 15:58:42 +0000 (15:58 +0000)
commit27a2accfafe394d79515d09a8d63b21459a03b75
tree35371cc33e32bf779105406f4e376c5c568f4758
parent096d3326951218dc56f120014d6500886b419e94
ASoC: kirkwood: fix external clock probe defer

commit 4523817d51bc3b2ef38da768d004fda2c8bc41de upstream.

When our call to get the external clock fails, we forget to clean up
the enabled internal clock correctly.  Enable the clock after we have
obtained all our resources.

Fixes: 84aac6c79bfd ("ASoC: kirkwood: fix loss of external clock at probe time")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1iNGyK-0004oF-6A@rmk-PC.armlinux.org.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/kirkwood/kirkwood-i2s.c