Skip to content

Commit af5fd12

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: cs35l56: Fix illegal use of init_completion()
Fix cs35l56_patch() to call reinit_completion() to reinitialize the completion object. It was incorrectly using init_completion(). Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: e496112 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56") Link: https://lore.kernel.org/r/20231006164405.253796-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1426b9b commit af5fd12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/codecs/cs35l56.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ static void cs35l56_patch(struct cs35l56_private *cs35l56)
706706

707707
mutex_lock(&cs35l56->base.irq_lock);
708708

709-
init_completion(&cs35l56->init_completion);
709+
reinit_completion(&cs35l56->init_completion);
710710

711711
cs35l56->soft_resetting = true;
712712
cs35l56_system_reset(&cs35l56->base, !!cs35l56->sdw_peripheral);

0 commit comments

Comments
 (0)