diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-28 08:34:21 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 17:30:17 +0100 |
commit | 1e821dd2763c97df1a0a451e553d218cb8886cd7 (patch) | |
tree | c09376cd0e36251f1c83ec6bf4e52a7226db7811 /sound/pci/oxygen/oxygen.h | |
parent | 911b499af45e879ccf4b8db234278a7136d056c9 (diff) | |
download | op-kernel-dev-1e821dd2763c97df1a0a451e553d218cb8886cd7.zip op-kernel-dev-1e821dd2763c97df1a0a451e553d218cb8886cd7.tar.gz |
[ALSA] oxygen: use AC97 interrupt
After an AC97 register read or write, use the AC97 interrupt instead of
polling to wait for the access to be completed.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r-- | sound/pci/oxygen/oxygen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index 8fc9e7c..55ce244 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h @@ -3,6 +3,7 @@ #include <linux/mutex.h> #include <linux/spinlock.h> +#include <linux/wait.h> #include <linux/workqueue.h> #include "oxygen_regs.h" @@ -65,6 +66,7 @@ struct oxygen { struct snd_pcm_substream *streams[PCM_COUNT]; struct snd_kcontrol *controls[CONTROL_COUNT]; struct work_struct spdif_input_bits_work; + wait_queue_head_t ac97_waitqueue; }; struct oxygen_model { |