]> err.no Git - linux-2.6/commit
[ALSA] hda-intel - Add flush_scheduled_work() in snd_hda_codec_free()
authorTakashi Iwai <tiwai@suse.de>
Wed, 15 Aug 2007 20:18:22 +0000 (22:18 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:59 +0000 (15:58 +0200)
commit2525fdc42fdc4bb943ec2fa5a37e2ae139e1b6d3
tree92373fea15d39b10b683dd28298c9e8c0cd19f31
parent983f8ae4067cf0731f19fc6bda3bc3ef200c32e7
[ALSA] hda-intel - Add flush_scheduled_work() in snd_hda_codec_free()

Added flush_scheduled_work() in snd_hda_codec_free() to make sure that
the all work is gone.  Also, optimized the condition to schedule the
delayed work in snd_hda_power_down().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c