sound: don't use flush_scheduled_work()
authorTejun Heo <tj@kernel.org>
Sat, 11 Dec 2010 16:51:26 +0000 (17:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Dec 2010 08:22:44 +0000 (09:22 +0100)
commit5b84ba26a9672e615897234fa5efd3eea2d6b295
tree1d86d5179cefecc986b6c7be0550050c29418869
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
sound: don't use flush_scheduled_work()

flush_scheduled_work() is deprecated and scheduled to be removed.

* cancel[_delayed]_work() + flush_scheduled_work() ->
  cancel[_delayed]_work_sync().

* wm8350, wm8753 and soc-core use custom code to cancel a delayed
  work, execute it immediately if it was pending and wait for its
  completion.  This is equivalent to flush_delayed_work_sync().  Use
  it instead.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/core/gpio-feature.c
sound/aoa/core/gpio-pmf.c
sound/i2c/other/ak4113.c
sound/i2c/other/ak4114.c
sound/pci/ac97/ac97_codec.c
sound/pci/hda/patch_via.c
sound/pci/oxygen/oxygen_lib.c
sound/soc/codecs/wm8350.c
sound/soc/codecs/wm8753.c
sound/soc/soc-core.c