diff options
author | Andrew Morton <akpm@osdl.org> | 2006-12-15 03:30:07 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:02:26 -0500 |
commit | 4484bb2e93a9ab636d149edc6515c75ea224e2b0 (patch) | |
tree | 4cbc87d7c03d76b0f305fcb1a3a9884b9ed306d6 /include | |
parent | ca377fecdd822f9ef5b0a21586040e7d0e1d0c7a (diff) |
[ALSA] Fix the soc code after dhowells workqueue changes.
From: Andrew Morton <akpm@osdl.org>
I converted the workqueues to per-device while I was there. It seems
strange to create a new kernel thread (on each CPU!) and to then only
have a single global work to ever be queued upon it.
Plus without this, I'd have to use the _NAR stuff, gawd help me.
Does that workqueue really need to be per-cpu?
Does that workqueue really need to exist? Why not use keventd?
Cc: Takashi Iwai <tiwai@suse.de>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 3dfe052e0788..c985a111bc3f 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | #include <linux/workqueue.h> | ||
18 | #include <sound/driver.h> | 19 | #include <sound/driver.h> |
19 | #include <sound/core.h> | 20 | #include <sound/core.h> |
20 | #include <sound/pcm.h> | 21 | #include <sound/pcm.h> |
@@ -454,6 +455,7 @@ struct snd_soc_device { | |||
454 | struct snd_soc_platform *platform; | 455 | struct snd_soc_platform *platform; |
455 | struct snd_soc_codec *codec; | 456 | struct snd_soc_codec *codec; |
456 | struct snd_soc_codec_device *codec_dev; | 457 | struct snd_soc_codec_device *codec_dev; |
458 | struct delayed_work delayed_work; | ||
457 | void *codec_data; | 459 | void *codec_data; |
458 | }; | 460 | }; |
459 | 461 | ||