diff options
author | Jaroslav Kysela <perex@suse.cz> | 2005-11-10 07:51:31 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 12:15:57 +0100 |
commit | fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 (patch) | |
tree | 07e55927b7d0d1515185349334968154923b05c2 /sound | |
parent | [ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSR (diff) | |
download | linux-fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5.tar.xz linux-fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5.zip |
[ALSA] ice1724 (juli) - forced analog doughter board detection
Modules: ICE1712 driver
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-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) if (err < 0) return err; - ice->spec.juli.analog = ice->gpio.get_data(ice) & GPIO_ANALOG_PRESENT; +#if 0 + /* it seems that the analog doughter board detection does not work + reliably, so force the analog flag; it should be very rare + to use Juli@ without the analog doughter board */ + ice->spec.juli.analog = (ice->gpio.get_data(ice) & GPIO_ANALOG_PRESENT) ? 0 : 1; +#else + ice->spec.juli.analog = 1; +#endif if (ice->spec.juli.analog) { printk(KERN_INFO "juli@: analog I/O detected\n"); |