From 1e821dd2763c97df1a0a451e553d218cb8886cd7 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 28 Jan 2008 08:34:21 +0100 Subject: [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 Signed-off-by: Jaroslav Kysela --- sound/pci/oxygen/oxygen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/pci/oxygen/oxygen.h') 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 #include +#include #include #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 { -- cgit v1.1