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 <[email protected]> Fixes: e496112 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 1426b9b commit af5fd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)