ALSA: hda - resume codecs in parallel
authorMengdong Lin <mengdong.lin@intel.com>
Wed, 27 Nov 2013 04:32:23 +0000 (23:32 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Nov 2013 11:37:07 +0000 (12:37 +0100)
commit12edb893082b89f4d3af85ab9f4750aa8d3c34f3
tree078aa14e02d8c49a9cb416d711c6fe218be840e9
parent351892a8278b50f723974ad42ce591aae57b41e7
ALSA: hda - resume codecs in parallel

To reduce driver resume time, this patch resumes the codecs in parallel
if there are multiple codecs on the bus.

- The PM workqueue of bus is also used to parallel resuming multiple codecs.
- The work item 'pm_work' is renamed to 'suspend_work' to parallel suspending
  codecs.
- Add a work item 'resume_work' to parallel resuming codecs.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h