summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-15 09:30:07 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:02:26 +0100
commit4484bb2e93a9ab636d149edc6515c75ea224e2b0 (patch)
tree4cbc87d7c03d76b0f305fcb1a3a9884b9ed306d6 /include/sound
parentca377fecdd822f9ef5b0a21586040e7d0e1d0c7a (diff)
downloadop-kernel-dev-4484bb2e93a9ab636d149edc6515c75ea224e2b0.zip
op-kernel-dev-4484bb2e93a9ab636d149edc6515c75ea224e2b0.tar.gz
[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/sound')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 3dfe052..c985a11 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -15,6 +15,7 @@
#include <linux/platform_device.h>
#include <linux/types.h>
+#include <linux/workqueue.h>
#include <sound/driver.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@ -454,6 +455,7 @@ struct snd_soc_device {
struct snd_soc_platform *platform;
struct snd_soc_codec *codec;
struct snd_soc_codec_device *codec_dev;
+ struct delayed_work delayed_work;
void *codec_data;
};
OpenPOWER on IntegriCloud