aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-12-13 06:55:39 -0500
committerTakashi Iwai <tiwai@suse.de>2010-12-13 06:58:59 -0500
commitfdea0571ddca8e3f22448f66d72a034575abea28 (patch)
treee16a5a57e667eb9b3f442ac6dd4509a0c20b57d8
parent20aeeb356ba2e8daa99b5942c528ae2b3ea28433 (diff)
ASoC: Fix merge errors with flush_scheduled_work() removal
delayed_work was moved to dapm in the commit ce6120cca2589ede530200c7cfe11ac9f144333c ASoC: Decouple DAPM from CODECs Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/soc/codecs/wm8350.c2
-rw-r--r--sound/soc/codecs/wm8753.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index f8a8a6944e65..07ba7e3f6a8c 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1643,7 +1643,7 @@ static int wm8350_codec_remove(struct snd_soc_codec *codec)
1643 1643
1644 /* if there was any work waiting then we run it now and 1644 /* if there was any work waiting then we run it now and
1645 * wait for its completion */ 1645 * wait for its completion */
1646 flush_delayed_work_sync(&codec->delayed_work); 1646 flush_delayed_work_sync(&codec->dapm.delayed_work);
1647 1647
1648 wm8350_set_bias_level(codec, SND_SOC_BIAS_OFF); 1648 wm8350_set_bias_level(codec, SND_SOC_BIAS_OFF);
1649 1649
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 747457193887..73507e71cb79 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -1587,7 +1587,7 @@ static int wm8753_probe(struct snd_soc_codec *codec)
1587/* power down chip */ 1587/* power down chip */
1588static int wm8753_remove(struct snd_soc_codec *codec) 1588static int wm8753_remove(struct snd_soc_codec *codec)
1589{ 1589{
1590 flush_delayed_work_sync(&codec->delayed_work); 1590 flush_delayed_work_sync(&codec->dapm.delayed_work);
1591 wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF); 1591 wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);
1592 1592
1593 return 0; 1593 return 0;