diff options
Diffstat (limited to 'sound/pci/ice1712')
-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"); |