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)
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>

No differences found