aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-28 02:36:55 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:18 -0500
commit7c0141591fcf92ddc96a4ee04e35783a15bd68c8 (patch)
tree22b2ce1e76144b5ff0d0fb420668e18820f8adf2 /sound/pci/oxygen/oxygen.h
parent5f7b9b457751efc9f3ad120d0ebdb19fe753e9d0 (diff)
[ALSA] virtuoso: monitor external power on D2X
On the Xonar D2X, monitor the GPIO pin that indicates whether external power is present. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h
index e71c53498995..ad50fb8b206b 100644
--- a/sound/pci/oxygen/oxygen.h
+++ b/sound/pci/oxygen/oxygen.h
@@ -66,6 +66,7 @@ struct oxygen {
66 struct snd_pcm_substream *streams[PCM_COUNT]; 66 struct snd_pcm_substream *streams[PCM_COUNT];
67 struct snd_kcontrol *controls[CONTROL_COUNT]; 67 struct snd_kcontrol *controls[CONTROL_COUNT];
68 struct work_struct spdif_input_bits_work; 68 struct work_struct spdif_input_bits_work;
69 struct work_struct gpio_work;
69 wait_queue_head_t ac97_waitqueue; 70 wait_queue_head_t ac97_waitqueue;
70}; 71};
71 72
@@ -88,6 +89,7 @@ struct oxygen_model {
88 void (*update_dac_mute)(struct oxygen *chip); 89 void (*update_dac_mute)(struct oxygen *chip);
89 void (*ac97_switch_hook)(struct oxygen *chip, unsigned int codec, 90 void (*ac97_switch_hook)(struct oxygen *chip, unsigned int codec,
90 unsigned int reg, int mute); 91 unsigned int reg, int mute);
92 void (*gpio_changed)(struct oxygen *chip);
91 size_t model_data_size; 93 size_t model_data_size;
92 u8 dac_channels; 94 u8 dac_channels;
93 u8 used_channels; 95 u8 used_channels;