Skip to content

Commit

Permalink
ASoC: Fix merge errors with flush_scheduled_work() removal
Browse files Browse the repository at this point in the history
delayed_work was moved to dapm in the commit
ce6120c
    ASoC: Decouple DAPM from CODECs

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Dec 13, 2010
1 parent 20aeeb3 commit fdea057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8350.c
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ static int wm8350_codec_remove(struct snd_soc_codec *codec)

/* if there was any work waiting then we run it now and
* wait for its completion */
flush_delayed_work_sync(&codec->delayed_work);
flush_delayed_work_sync(&codec->dapm.delayed_work);

wm8350_set_bias_level(codec, SND_SOC_BIAS_OFF);

Expand Down
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ static int wm8753_probe(struct snd_soc_codec *codec)
/* power down chip */
static int wm8753_remove(struct snd_soc_codec *codec)
{
flush_delayed_work_sync(&codec->delayed_work);
flush_delayed_work_sync(&codec->dapm.delayed_work);
wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);

return 0;
Expand Down

0 comments on commit fdea057

Please sign in to comment.