summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-05 09:34:28 +0300
committerTakashi Iwai <tiwai@suse.de>2009-02-05 09:41:04 +0300
commite8c0ee5d77ec0f144c753a622c67dd96fa195d50 (patch)
tree3d1e086956db36b12f003fc6f583a5278757e9d1 /sound/pci/hda/hda_codec.h
parentf67d8176ba9a3dbc33454cd67057184b2ef5ee31 (diff)
downloadlinux-e8c0ee5d77ec0f144c753a622c67dd96fa195d50.tar.xz
ALSA: hda - Fix misc workqueue issues
Some fixes regarding snd-hda-intel workqueue: - Use create_singlethread_workqueue() instead of create_workqueue() as per-CPU work isn't required. - Allocate workq name string properly - Renamed the workq name to "hd-audio*" to be more obvious. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 5810ef588402..09a332ada0c6 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -614,6 +614,7 @@ struct hda_bus {
/* unsolicited event queue */
struct hda_bus_unsolicited *unsol;
+ char workq_name[16];
struct workqueue_struct *workq; /* common workqueue for codecs */
/* assigned PCMs */