summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/oxygen.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-28 08:36:55 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:30:18 +0100
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 {
struct snd_pcm_substream *streams[PCM_COUNT];
struct snd_kcontrol *controls[CONTROL_COUNT];
struct work_struct spdif_input_bits_work;
+ struct work_struct gpio_work;
wait_queue_head_t ac97_waitqueue;
};
@@ -88,6 +89,7 @@ struct oxygen_model {
void (*update_dac_mute)(struct oxygen *chip);
void (*ac97_switch_hook)(struct oxygen *chip, unsigned int codec,
unsigned int reg, int mute);
+ void (*gpio_changed)(struct oxygen *chip);
size_t model_data_size;
u8 dac_channels;
u8 used_channels;