diff options
author | Jaroslav Kysela <perex@suse.cz> | 2005-11-10 01:51:31 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:15:57 -0500 |
commit | fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 (patch) | |
tree | 07e55927b7d0d1515185349334968154923b05c2 | |
parent | c1b8f5f0e4aabd4b47648dd9465fb750e07da9fb (diff) |
[ALSA] ice1724 (juli) - forced analog doughter board detection
Modules: ICE1712 driver
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r-- | sound/pci/ice1712/juli.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sound/pci/ice1712/juli.c b/sound/pci/ice1712/juli.c index 2437876a44e4..a5e04a3136b1 100644 --- a/sound/pci/ice1712/juli.c +++ b/sound/pci/ice1712/juli.c | |||
@@ -175,7 +175,14 @@ static int __devinit juli_init(ice1712_t *ice) | |||
175 | if (err < 0) | 175 | if (err < 0) |
176 | return err; | 176 | return err; |
177 | 177 | ||
178 | ice->spec.juli.analog = ice->gpio.get_data(ice) & GPIO_ANALOG_PRESENT; | 178 | #if 0 |
179 | /* it seems that the analog doughter board detection does not work | ||
180 | reliably, so force the analog flag; it should be very rare | ||
181 | to use Juli@ without the analog doughter board */ | ||
182 | ice->spec.juli.analog = (ice->gpio.get_data(ice) & GPIO_ANALOG_PRESENT) ? 0 : 1; | ||
183 | #else | ||
184 | ice->spec.juli.analog = 1; | ||
185 | #endif | ||
179 | 186 | ||
180 | if (ice->spec.juli.analog) { | 187 | if (ice->spec.juli.analog) { |
181 | printk(KERN_INFO "juli@: analog I/O detected\n"); | 188 | printk(KERN_INFO "juli@: analog I/O detected\n"); |